A hierarchically structured electronic document includes a parent node, a
first and a second child of the parent node. The first child is
configured as a named role child, the named role child having a first
child component, the named role child specifying a relationship between
the first child component and the parent node. The second child is
configured as an index role child and has a plurality of second child
components. The index role child specifies that all second child
components are index children. The second child components collectively
define and are configured to be rendered in the order in which the second
child components appear under the second child. Collisions between named
role and index children are avoided as the document includes a role
(either a name role or an index role) between the parent and each child
of the parent that is at the same hierarchical level.