int[]
A node is represented with a node number, an index to access name code, parent node number, type code, first child index, number of children, child node numbers, first attribute index, number of attributes and attribute node numbers.
array fragmentation

Inserts and deletes into the child and attribute node arrays can be expensive with the need to copy the array into a smaller, bigger area, allocations. Also a management for the freed areas to be reused is needed.

/livcos.org/data/map/brainstorm/DomImplementation