Warning: Cannot modify header information - headers already sent by (output started at /home/clindstr/private/sites/dithered.com/css_filters/html_only/xml_stylesheet_xhtml.php:1) in /home/clindstr/private/sites/dithered.com/css_filters/html_only/xml_stylesheet_xhtml.php on line 2
Served as application/xhtml+xml with xml-stylesheet PI (dithered.com)

Served as application/xhtml+xml with xml-stylesheet PI

Test of Filter

This text will be green if the rule has been applied.

Code Syntax

<?xml-stylesheet href="styles.css" type="text/css" ?>

Browser Support / Behaviour

Applied By

Not Applied By



Special Notes

Browsers that don't understand the application/xhtml+xml mimetype can be sent the document as text/html instead. This avoids the problems encountered when those browsers try to deal with a mimetype they don't recognize. All browsers tested ignored any xml-stylesheet PIs when the document is sent with a non-xml mimetype. However, it is best not to include XML PIs if the document is not sent as an xml application because any code encountered before the <!DOCTYPE> will cause IE6 to use quirks mode to render the document. Also, including a XML PI in an HTML document isn't valid.