Latest web development tutorials

XML DOM systemId property

DocumentType Object Reference Manual DocumentType Object

Definition and Usage

systemId property returns the system identifier for the external DTD.

grammar

documentObject.doctype.systemId


Examples

The following code fragment uses loadXMLDoc () to " the Books.xml " into xmlDoc external DTD and display systems id:

Examples

xmlDoc=loadXMLDoc("note_external_dtd.xml");
document.write(xmlDoc.doctype.systemId);

Output:

note.dtd

try it"

DocumentType Object Reference Manual DocumentType Object