August 2000
Beginner
456 pages
9h 24m
English
Given that the document is a node in its own right, it shouldn't come as a surprise that many of the properties and methods of the node object are the same as those for the document object. The complete list of the node properties is summarized in Table 18.5.
| Property | Purpose |
|---|---|
| attributes | Same as forthe document. |
| baseName | Returns the basename of a name qualified by a namespace. For example, if the name is dt:date, the value of baseName would be date. |
| childNodes | Same as for the document. |
| dataType | Used to set or getthe data type for a node. |
| definition | Returns the definition of the node as specified in the DTD or schema. |
| firstChild | Same as for the document. |
| lastChild | Same ... |
Read now
Unlock full access