XML DOM systemIdProperty
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 usesloadXMLDoc()put "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);
document.write(xmlDoc.doctype.systemId);
Output:
note.dtd
Try it Yourself »
DocumentType Objectother extensions