Description Usage Arguments Value Author(s) References See Also Examples
These methods are simple wrappers for the
lapply
and sapply
functions.
They operate on the
sub-nodes of the XML node, and not on the fields of the node object itself.
1 2 3 4 5 6 7 8 9 10 11 12 | xmlApply(X, FUN, ...)
## S3 method for class 'XMLNode'
xmlApply(X, FUN, ...)
## S3 method for class 'XMLDocument'
xmlApply(X, FUN, ...)
## S3 method for class 'XMLDocumentContent'
xmlApply(X, FUN, ...)
xmlSApply(X, FUN, ...)
## S3 method for class 'XMLNode'
xmlSApply(X, FUN, ...)
## S3 method for class 'XMLDocument'
xmlSApply(X, FUN, ...)
|
X |
the |
FUN |
the function to apply to each child node. This is passed
directly to the relevant |
... |
additional arguments to be given to each invocation of
|
The result is that obtained from calling
the apply
or sapply
on xmlChildren(x)
.
Duncan Temple Lang
http://www.w3.org/XML, http://www.jclark.com/xml, http://www.omegahat.org
xmlChildren
xmlRoot
[.XMLNode
sapply
lapply
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.