Back to FabImage Library website

You are here: Start » Function Reference » All Functions » Xml » Xml_AddChildNodes_OfArray

Xml_AddChildNodes_OfArray


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: fil
Module: FoundationLite

Appends new children nodes to the XML node.

Syntax

void fil::Xml_AddChildNodes_OfArray
(
	const fil::XmlNode& inParent,
	const ftl::Array<fil::XmlNode>& inChildren,
	fil::XmlNode& outNode
)

Parameters

Name Type Default Description
Input value inParent const XmlNode& Parent XML node to which new nodes will be added.
Input value inChildren const Array<XmlNode>& Nodes 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 from array 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_OfArray.

See Also