The xml vocabulary implements the XML 1.0 and 1.1 standards, converting strings of text into XML and vice versa. The parser checks for well-formedness but is not validating. There is only partial support for processing DTDs.
Reading XML
Event-based XML parsing
Working with XML namespaces

Writing XML

XML parsing errors

XML entities

XML data types

Utilities for traversing XML

Syntax extensions for XML