Back to Aurora Vision Library Lite website
You are here: Start » All Functions » Xml » Xml_AddChildNodes
Xml_AddChildNodes
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Header: | STD.h |
---|---|
Namespace: | avl |
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. |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inParent and outNode
Read more about In-place Computation.
Description
This filter appends new nodes as children to the selected node. New nodes should be created using Xml_CreateNode.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Invalid inParent in Xml_AddChildNodes. |
DomainError | Unable to append nodes to the input node in Xml_AddChildNodes. |
See Also
- Xml_GetChildNode – Gets a node child.
- Xml_AddChildNodes_OfArray – Appends new children nodes to the XML node.