This implementation follows REC-DOM-Level-1-19981001. Because the DOM standard is object-oriented, some changes were made for C language adaptation.
Reused function names have to be expanded; getValue
in the Attr
interface has the unique name XmlDomGetAttrValue
that matches the pattern established by DOM 2's getNodeValue
.
Functions were added to extend the DOM beyond the standard; one example is XmlDomNumChildNodes
, which returns the number of children of a node.
This chapter contains the following sections: