fixDocXIncludes | R Documentation |
This attempts to fix the C-level XML nodes that libxml2
creates to represent content included by XInclude xi:include
nodes.
fixDocXIncludes(doc, xinc = getXIncludes2(docName(doc)))
doc |
the XML document or node |
xinc |
the data frame containing the information about which XML file includes which other XML files, in the order they are included in the XML tree. |
The updated document/XML tree with the href attribute set.
Duncan Temple Lang
libxml2 and XInclude nodes.
xmlParse
getXIncludes2
getNodeLocation
m = xmlParse(system.file("examples/multi.xml", package = "XML"))
invisible(fixDocXIncludes(m))
getNodeLocation(getNodeSet(m, "//C"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.