HtmlTidy Adapter Properties

You can use the HtmlTidy adapter to convert HTML to XHTML.

Adapter Name in URL

HTMLTidy

Property Name
Name in URL
Description
Line separator
newline
Used when converting HTML to XHTML. The default is crlf. See Line Separator Values for a list of values.
Encoding
encoding
The encoding for the input file when it is not XML; or the encoding for the output file when it is not XML. The default is
utf-8.
Abort on warnings found
warnings
Whether or not you want the adapter to fail when it encounters potential problems with the HTML-to-XHTML mapping. warnings=no is the default.
Abort on errors found
errors
Whether or not you want the adapter to fail when it encounters problems with the HTML-to-XHTML mapping. If errors=no, the adapter continues with the conversion, making a best guess. errors=yes is the default.
Table 157. Properties for the HtmlTidy Adapter

 
Free Stylus Studio XML Training:
W3C Member