The Expat.Tree module provides a simplified interface to parsing, that returns a tree of the XML structure. (Note that this is not a lazy parse of the document: as soon as the root node is accessed, the entire document is parsed.)
The Expat.Tree module provides a simplified interface to parsing, that returns a tree of the XML structure. (Note that this is not a lazy parse of the document: as soon as the root node is accessed, the entire document is parsed.)