-
Notifications
You must be signed in to change notification settings - Fork 16
Node
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.
Copyright © 2021 and later years Lyquidity Solutions Limited
- About us
- Purpose
- XBRL support
- Road Map
- Why PHP?
- Contributing
- License
- Reference links
- Case Study
- Digital Financial Reporting
- Digital Financial Reporting examples
Overview
Class and function reference
Compiled taxonomy structure
Common arrays
Compiling
Compiling
Processing linkbases
Additional taxonomy processing
Extension taxonomies
Compiled taxonomy folder
How do I...?
Navigate a node tree
Find a node in a tree
Find elements in a taxonomy
Load an instance document
Find elements in an instance
Create a simple report
Create a comparison report
Example custom report
Work with dimensions
Sign and Verify
Validate
Change the logging
Capture validation information