DocumentType Object
The name property returns the name of the DTD (the name immediately following the DOCTYPE keyword).
The following code fragment loads "note_internal_dtd.xml" into xmlDoc using loadXMLDoc() and displays the name of the DTD:
Output:
DocumentType Object
Your message has been sent to W3Schools.