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 ofSee Also:#DOCUMENT
type that represents the found XML document.The function returns
null
when:
- No XML file has yet been loaded by the specified URI;
- If the parameter
key
is specified and none of the XML documents loaded by that URI is associated with the specified key.
All Element Types |#DOCUMENT
,#DOCUMENT@xmlURI
,#DOCUMENTS
;
loadXMLDocument(), getXMLDocument()