Easy Tutorial
❮ Dom Text Prop Comment Data ❯

XML DOM name Attribute



Definition and Usage

The name attribute returns the name of the DTD (the name immediately following the keyword DOCTYPE).

Syntax


Example

The following code snippet uses loadXMLDoc() to load "note_internal_dtd.xml" into xmlDoc and displays the name of the DTD:

Example

Output:


❮ Dom Text Prop Comment Data ❯