Traversing the element tree by using a .NETCompute node
Use .NETCompute node NBElement properties and methods (in C# for example) to access element trees.
About this task
- Parent
- This property returns the parent of the current element.
- PreviousSibling
- This property returns the previous sibling of the current element.
- NextSibling
- This property returns the next sibling of the current element.
- Children()
- This method returns all the child elements of the current element as an array of NBElements.
- FirstChild
- This property returns the first child of the current element.
- LastChild
- This property returns the last child of the current element.