XML DOM name Property
Complete DocumentType Object Reference
Definition and Usage
The name property returns the name of the DTD (the name immediately following the
DOCTYPE keyword).
Syntax
documentObject.doctype.name
|
Example
The following code fragment loads "note_internal_dtd.xml"
into xmlDoc using
loadXMLDoc() and displays the name of the DTD:
xmlDoc=loadXMLDoc("note_internal_dtd.xml");
document.write(xmlDoc.doctype.name);
|
Output:
Try-It-Yourself Demos
Get the name of
the DOCTYPE associated with the XML document
Complete DocumentType Object Reference
 |

|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|