Creates an XML Type instance.The static method creates an XMLType instance from the src XML entity. If the parameter src is not an XML entity then it is converted to it via an internal call of xtree_doc() or xml_tree_doc(). A schema may be associated with an XML entity by passing its URI as schema_uri; this schema can be used later to validate the structure of the document.
Creates an XML Type instance.The static method creates an XMLType instance from the src XML entity.
If the parameter src is not an XML entity then it is converted to it
via an internal call of xtree_doc() or xml_tree_doc().
A schema may be associated with an XML entity by passing its URI
as schema_uri; this schema can be used later to validate
the structure of the document.