This class is used to provide a handle/reference to a C-level
data structure that contains the information from parsing
parsing XML content.
This leaves the nodes in the DOM or tree as C-level nodes
rather than converting them to explicit R
objects. One can then operate on this tree in much the same
way as one can the
but we a) avoid copying the nodes to R, and b) can navigate
the tree both down and up using
giving greater flexibility.
Most importantly, one can use an
class object with an XPath expression to easily and relatively efficiently
find nodes within a document that satisfy some criterion.
Objects of this type are created via
with the argument
useInternalNodes given as
There are methods to serialize (dump) a document to a file or as a string, and to coerce it to a node by finding the top-level node of the document. There are functions to search the document for nodes specified by an XPath expression.
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.