August 2000
Beginner
456 pages
9h 24m
English
This hour will conclude by presenting some additional properties of the xmldom object.
| Property | Data Type | Contains |
|---|---|---|
| url | String | The URL of the most recently loaded document |
| validateOnParse | Boolean | If true, document is validated when parsed; if false, it isn't |
| xml | Text | The XML representation of the node |
| nodeType | Number | A numeric code that specifies the DOM type for the node |
The possible values for the nodeType and their meanings are summarized in Table 5.5.
| Value | Corresponding Node Type |
|---|---|
| 1 | ELEMENT |
| 2 | ATTRIBUTE |
| 3 | TEXT |
| 4 | CDATA |
| 5 | ENTITY REFERENCE |
| 6 | ENTITY |
| 7 | PI (Processing instruction) |
| 8 | COMMENT |
| 9 | DOCUMENT |
| 10 | DOCUMENT TYPE (as found in the ... |
Read now
Unlock full access