HTML Purifier Attribute Transformation Smoketest

HTML
CSS
Requires PHP 5.

'); $xml = simplexml_load_file('attrTransform.xml'); // attr transform enabled HTML Purifier $config = HTMLPurifier_Config::createDefault(); $purifier = new HTMLPurifier($config); $title = isset($_GET['title']) ? $_GET['title'] : true; foreach ($xml->group as $group) { echo '

' . $group['title'] . '

'; foreach ($group->sample as $sample) { $sample = (string) $sample; ?>
purify($sample); ?>