CPLXMLNode

Document node structure.

This C structure is used to hold a single text fragment representing a component of the document when parsed. It should be allocated with the appropriate CPL function, and freed with CPLDestroyXMLNode(). The structure contents should not normally be altered by application code, but may be freely examined by application code.

Using the psChild and psNext pointers, a hierarchical tree structure for a document can be represented as a tree of CPLXMLNode structures.

Members

Variables

eType
CPLXMLNodeType eType;

\brief Node type

psChild
CPLXMLNode* psChild;

\brief Child node.

psNext
CPLXMLNode* psNext;

\brief Next sibling.

pszValue
char* pszValue;

\brief Node value

Meta