xmlApply: Applies a function to each of the children of an XMLNode
Description
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.
Usage
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, ...)
Arguments
Value
The result is that obtained from calling
the apply or sapply
on xmlChildren(x).