Convert HTML to XML
The Convert HTML to XML Template Building Block checks the package it receives for an item called Output and attempts to convert the HTML in that item into XHTML. The Dreamweaver Template Building Blocks automatically places an item called Output in the output package. You can specify the name of a different item in the package to transform using the Item name parameter.
Use
You can use this Template Building Block in any Compound Template.
Parameters
The Template Building Block has the following parameters:
- Accessibility level (default)
- Specifies the accessibility level of the XHTML to be produced, as specified by the World Wide Web Consortium, or W3C in its Web Content Accessibility Guidelines, or WCAG. When executed, the Compound Template fails to execute if the specified accessibility level is not complied with.
- Document type
-
Specifies the strictness level used by the DOCTYPE of the XHTML produced (as specified by the W3C). Possible values are:
- Auto (default)
- Omit
- Loose
- Strict
- Item name
-
specifies the name of an item in the input package (which must contain HTML) to convert instead of the
Outputitem.