Determine the number of children in an XMLNode object.
Determine the number of children in an XMLNode object.
This function is a simple way to compute the number of sub-nodes (or children) an XMLNode object possesses. It is provided as a convenient form of calling the xmlSize function.
## S3 method for class 'XMLNode'length(x)
Arguments
x: the XMLNode object whose length is to be queried.
Returns
An integer giving the number of sub-nodes of this node.