Back to Aurora Vision Library website

You are here: Start » Function Reference » 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
Module: FoundationLite

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
Input value inParent const XmlNode& Parent XML node to which new nodes will be added.
Input value inChild1 const XmlNode& Node to be added.
Input value inChild2 const Optional<XmlNode>& NIL Node to be added.
Input value inChild3 const Optional<XmlNode>& NIL Node to be added.
Input value inChild4 const Optional<XmlNode>& NIL Node to be added.
Input value inChild5 const Optional<XmlNode>& NIL Node to be added.
Input value inChild6 const Optional<XmlNode>& NIL Node to be added.
Input value inChild7 const Optional<XmlNode>& NIL Node to be added.
Input value inChild8 const Optional<XmlNode>& NIL Node to be added.
Output value 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