Skip to content
bseddon edited this page Nov 12, 2016 · 5 revisions

In several of the topics in this wiki reference is made to tree 'nodes'. These are a collection of attributes stored in an array to represent a node in the tree structure implied by presentation and definition linkbases. A single node can be a leaf or not. The only distinction is that a leaf node does not have any child nodes of its own.

In a strictly object-oriented implementation a node would be implemented in a class. In this code a node is an array with each element of the array representing a property of the node. Most values are those of the presentation arc. The 'children' element is an array of other node arrays indexed by the href to the the element.

Key Comment
taxonomy_element
order The relative priority of this node within its parent
priority The relative priority of this node within its parent if there is a conflict. Primarily used with labels and formulas.
use The type of use: optional|prohibited. This is used to help authors of extension taxonomies to disable elements of ancestor taxonomy elements
label The xlink label of the from
arcrole
parent The href of the parent node (if there is one). This is used by presentation linkbases
parents An array of parents. Each element is an array holding arc values for this node to each parent.
children If it exists, this element contains an array child nodes.
nodeclass The type of the node: simple|primaryitem|member|dimension|hypercube
taxonomy_element Element details of the schema element of this node

See this example of navigating a node tree.

Clone this wiki locally