Module amxml::dom[][src]

XML DOM processor

See the Crate document and 'Structs: NodePtr' document for detail.

Note

This processor does not translate namespace prefixes to their corresponding URIs. If needed, you can get the URI via 'namespace_uri' method.

This processor does not care Directives <!DOCTYPE ...>, <!ELEMENT ...>, etc.

This processor accepts some illegal XML documents, like those that have more than one root elements. Sometimes it is convenient to accept such document temporally in the course of manipurating.

Structs

NodePtr

A node in the XML document tree.

Enums

NodeType

Type of node in the XML document tree.

Functions

new_document

Parses the XML string and creates the DOM tree and returns the topmost DocumentRoot node.