| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
Parser
Parser.XML
Parser.XML.Tree

# Module Parser.XML.Tree

Description

  XML parser that generates node-trees.

  Has some support for XML namespaces http://www.w3.org/TR/REC-xml-names/ RFC 2518 23.4.

Note

  This module defines two sets of node trees; the SimpleNode -based, and the Node -based. The main difference between the two, is that the Node -based trees have parent pointers, which tend to generate circular data references and thus garbage.

  There are some more subtle differences between the two. Please read the documentation carefully.

Constant STOP_WALK

  `constant Parser.XML.Tree.STOP_WALK`

Constant XML_ROOT

  `constant Parser.XML.Tree.XML_ROOT`

Constant XML_ELEMENT

  `constant Parser.XML.Tree.XML_ELEMENT`

Constant XML_TEXT

  `constant Parser.XML.Tree.XML_TEXT`

Constant XML_HEADER

  `constant Parser.XML.Tree.XML_HEADER`

Constant XML_PI

  `constant Parser.XML.Tree.XML_PI`

Constant XML_COMMENT

  `constant Parser.XML.Tree.XML_COMMENT`

Constant XML_DOCTYPE

  `constant Parser.XML.Tree.XML_DOCTYPE`

Constant XML_ATTR

  `constant Parser.XML.Tree.XML_ATTR`

Description

  Attribute nodes are created on demand

Constant DTD_ENTITY

  `constant Parser.XML.Tree.DTD_ENTITY`

Constant DTD_ELEMENT

  `constant Parser.XML.Tree.DTD_ELEMENT`

Constant DTD_ATTLIST

  `constant Parser.XML.Tree.DTD_ATTLIST`

Constant DTD_NOTATION

  `constant Parser.XML.Tree.DTD_NOTATION`

Constant XML_NODE

  `constant Parser.XML.Tree.XML_NODE`