The XMLDocument(xmlTree) command is a constructor for complete XML documents. None of the other XML constructors validates its content; this is done solely by the document constructor (XMLDocument), which must be called on the complete document content after it has been constructed.
|