Skip to main content

HTML to XML

Synopsis

This operator converts a HTML document into an XML/XHTML document.

Description

The HTML to XML operator takes a document in the HTML-Format and parses it into strict XHTML, removing things as non-closed stand-alone tags and so on. This can be useful, if an XHTML document is required, or it's necessary that the document is fully valid.

Input

document

The HTML-document that should be transformed.

Output

document

The XHTML-Document.