XML DOM internalSubset Property
DocumentType Object
Definition and Usage
The internalSubset property returns the internal DTD as a string (without the delimiting brackets), or null if there is none.
Syntax
documentObject.doctype.internalSubset
Example
The following code snippet uses loadXMLDoc() to load "note_internal_dtd.xml" Load into xmlDoc, and return the internal DTD as a string:
xmlDoc=loadXMLDoc("note_internal_dtd.xml");
document.write(xmlDoc.doctype.internalSubset);
Output:
DocumentType Object