doc_type_root_tags
doc_type_root_tags (doc, arr)
This function fills the array arr with the names of all elements which are considered root tags for the document type associated with the document given by doc. Any element declared in the XML DTD or XML Schema that is not included in the content model of another element is considered a possible root element.
For compiled document types, only the top tag specified when the document type was compiled is returned.
The function returns the number of elements stored in the array.
Related Topics