Node Element

Author-it XML Format

Description

The Node element is used to represent an item which appears in a node hierarchy. The hierarchy is recursive, so a node can contain other nodes as children. If the node is a parent of other nodes it will contain a ChildNodes element.

Attributes

Attribute Name

Optional

Data Type

Range

id

No

Integer

>= 1 (an object ID)

Parent Element

ContentsNodes, IndexNodes, ChildNode

Children

Element

Optional

Occurs

ChildNodes

Yes

Zero or one times

Sample XML

<Node id="105" />
<Node id="109" />
<Node id="182">
<ChildNodes>
<Node id="110">
<ChildNodes>
<Node id="167" />
<Node id="169" />
</ChildNodes>
</Node>
</ChildNodes>
</Node>
<Node id="180" />
<Node id="113" />