Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XML DOM systemId Property

XML DOM systemId Property


DocumentType Object Reference 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 Reference DocumentType Object