XML elements can contain other, nested sub-elements. This generic function determines the number of such elements within a specified node. It applies to an object of class XMLNode or XMLDocument.
xmlSize(obj)
Arguments
obj: An an object of class XMLNode or XMLDocument.