xmlApply(X, FUN, ...) xmlApply.XMLNode(X, FUN, ...) xmlApply.XMLDocument(X, FUN, ...) xmlApply.XMLDocumentContent(X, FUN, ...) xmlSApply(X, FUN, ...) xmlSApply.XMLNode(X, FUN, ...) xmlSApply.XMLDocument(X, FUN, ...)
XMLNode
on whose children the regular
or
is to be performed
FUN
. This is passed directly to the relevant
function.
xmlChildren(x)
.
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) xmlSApply(r[[2]], xmlName) xmlApply(r[[2]], xmlAttrs) xmlSApply(r[[2]], xmlSize)