XML DOM systemId Property
DocumentType Object
Definition and Usage
The systemId property returns the system identifier of the external DTD.
Syntax
documentObject.doctype.systemId
Example
The following code snippet uses loadXMLDoc() to load "note_external_dtd.xml" Load into xmlDoc, and display the system id of the external DTD:
Example
xmlDoc=loadXMLDoc("note_external_dtd.xml");
document.write(xmlDoc.doctype.systemId);
Output:
note.dtd
Try it »
DocumentType Object