Finds an XML document that has been loaded by the specified URI.

If the parameter key is specified, the found document must also be associated with that key. See description of loadXMLDocument() function for more details.

Parameter:

xmlURI

The URI of the XML file location. This may be a URL or an absolute pathname on the local system.
key
The additional key associated with the XML document.

Returns:

The DSM element of #DOCUMENT type that represents the found XML document.

The function returns null when:

See Also:
All Element Types | #DOCUMENT, #DOCUMENT@xmlURI, #DOCUMENTS;
loadXMLDocument(), getXMLDocument()