Description Usage Arguments Value See Also Examples
This function is useful for finding the names of all the XML nodes used in the specified XML document. This allows us to verify that there are XSL templates for all of them, find which are most widely used, etc.
1 | getAllNodeNames(doc, full = TRUE)
|
doc |
the XML document to be processed. This can be either the file name (or URL) or the already parsed XML document
returned from
|
full |
a logical value that indicates whether
to use the full name with the XML namespace prefix,
or the simple name. This is passed to
|
a frequency table giving the number of times each node name appears in the document.
1 2 3 4 5 6 7 |
# This examines this very document to find all the nodes it uses.
f = system.file("XMLHelp", "getAllNodeNames.xml", package = "XDocTools")
getAllNodeNames(f)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.