XMLNode object
possesses.
It is provided as a convenient form of calling the
function.
length.XMLNode(x)
XMLNode object whose length is to be queried.
Duncan Temple Lang
http://www.w3.org/XML, http://www.jclark.com/xml, http://www.omegahat.org
doc <- xmlTreeParse(system.file("exampleData", "mtcars.xml", package="XML"))
r <- xmlRoot(doc, skip=TRUE)
length(r)
# get the last entry
r[[length(r)]]