Back to Adaptive Vision Library website
You are here: Start » Function Reference » Xml » Xml_AddChildNodes
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Appends new children nodes to the XML node.
Syntax
void avl::Xml_AddChildNodes ( const avl::XmlNode& inParent, const avl::XmlNode& inChild1, const atl::Optional<avl::XmlNode>& inChild2, const atl::Optional<avl::XmlNode>& inChild3, const atl::Optional<avl::XmlNode>& inChild4, const atl::Optional<avl::XmlNode>& inChild5, const atl::Optional<avl::XmlNode>& inChild6, const atl::Optional<avl::XmlNode>& inChild7, const atl::Optional<avl::XmlNode>& inChild8, avl::XmlNode& outNode )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inParent | const XmlNode& | Parent XML node to which new nodes will be added. | ||
inChild1 | const XmlNode& | Node to be added. | ||
inChild2 | const Optional<XmlNode>& | NIL | Node to be added. | |
inChild3 | const Optional<XmlNode>& | NIL | Node to be added. | |
inChild4 | const Optional<XmlNode>& | NIL | Node to be added. | |
inChild5 | const Optional<XmlNode>& | NIL | Node to be added. | |
inChild6 | const Optional<XmlNode>& | NIL | Node to be added. | |
inChild7 | const Optional<XmlNode>& | NIL | Node to be added. | |
inChild8 | const Optional<XmlNode>& | NIL | Node to be added. | |
outNode | XmlNode& | New node with added nodes. |
Description
This filter appends new nodes as children to the selected node. New nodes should be created using Xml_CreateNode.
Errors
Error type | Description |
---|---|
DomainError | Invalid inParent in Xml_AddChildNodes. |
DomainError | Unable to append nodes to the input node in Xml_AddChildNodes. |
See Also
- Xml_AddChildNodes_OfArray – Appends new children nodes to the XML node.
- Xml_GetChildNode – Gets a node child.