NativeXml Help
TNativeXml.RootNodeCount
property RootNodeCount: integer;