Allows HTML output to be generated:
- Recognises HTML empty elements even if not defined as valid XML:
-
<hr> <img> <link> <meta> <imput> <br> <col> etc
- Element names can be a mixture of upper and lower case
- Realises that <script> and <style> elements will include special characters
- Special characters within URLs are recognised correctly
- Recognises keyword-only attributes like SELECTED
- To generate XHTML do not use:
method="html" use method="xml" :
- version
- Default value is 4.0
- encoding
- Creates a META element after the HEAD element with a CHARSET attribute
- indent
- XSLT Processor may indent the output