![]() |
![]()
The XML library provided with Resin implements the W3C DOM level 1. That page is the definitive documentation.
The XmlParser parses XML.
The XML Query Language describes node patterns,
so scripts can select nodes from XML trees.
The Document contains all of an XML file.
XML documents must have a single top level element. The
`<?xml?>' header is optional.
The Node is the prototype for all XML
objects. It defines the tree structure underlying XML.
The Element is the central XML datatype.
It corresponds to an HTML tag. In XML, all open tags must have a
close tag.
Text provides character data.
Entity References are XML macros, like
&, < and ©right;. Generally the XML parser
will expand these. If it cannot, it will create an entity Reference Node.
CData sections are like Text nodes, but
they don't need to escape the XML special characters. So they are
useful for scripts or encoded images.
Processing Instructions are commands to the
program processing the XML. They might turn on debugging or open logs.
|