myTests/xpathCrash.R

xml <- xmlTreeParse('<A><B><C></C></B></A>', useInternal=T)
node <- xpathApply(xml, "/A/B")[[1]]
xpathApply(node, "/*") # should be node B
xpathApply(node, "/*/*") # should be node C
list()
saveXML(node)
omegahat/XML documentation built on Jan. 17, 2024, 6:47 p.m.