Back to Adaptive Vision Library website
You are here: Start » Function Reference » Xml » Xml_GetChildNode
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Gets a node child.
Syntax
void avl::Xml_GetChildNode ( const avl::XmlNode& inNode, const int& inIndex, avl::XmlNode& outChild )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inNode | const XmlNode& | Source node. | |||
inIndex | const int& | 0 - | Child node index. | ||
outChild | XmlNode& | Child node of the inNode. |
Description
This filter gets child from node's children list. If selected child doesn't exist an exception will be raised.
Errors
Error type | Description |
---|---|
DomainError | Invalid XmlNode in Xml_GetChildNode. |
DomainError | Invalid inIndex value in Xml_GetChildNode. |
See Also
- Xml_AddChildNodes – Appends new children nodes to the XML node.
- Xml_AddChildNodes_OfArray – Appends new children nodes to the XML node.