The xmlNode
is the general object type in the
xmlTree
API. With few exceptions, most things worked
with in the xmlTree
API are xmlNode
's. They are used to
represent elements, text objects, attributes, entities, comments,
processing instructions, etc.
In general you don't "print" xmlNode
's directly, they're part
of a larger XML document that gets formatted via the xmlDoc
root object.