Back to Aurora Vision Library Lite website

You are here: Start » All Functions » Xml » Xml_AppendAttributes

Xml_AppendAttributes


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 attributes to the node.

Syntax

void avl::Xml_AppendAttributes
(
	const avl::XmlNode& inNode,
	const atl::Array<atl::String>& inNames,
	const atl::Array<atl::String>& inValues,
	avl::XmlNode& outNode
)

Parameters

Name Type Default Description
Input value inNode const XmlNode& Node to which new attributes will be added.
Input value inNames const Array<String>& Attributes names.
Input value inValues const Array<String>& Attributes values.
Output value outNode XmlNode&

In-place Processing

This function supports in-place data processing - you can pass the same reference to inNode and outNode

Read more about In-place Computation.

Description

This filter appends new attributes to the selected node. Both arrays inNames and inValues must have the same size. Empty attribute names are prohibited.

Remarks

Warning:All tools applied to a specific device or file should be managed within a single thread to ensure centralized tracking, traceability, and consistency throughout the process.

Errors

List of possible exceptions:

Error type Description
DomainError Arrays inNames and inValues has different size in Xml_AppendAttributes.
DomainError Attribute name cannot start with a digit in Xml_AppendAttributes.
DomainError Empty attribute name in Xml_AppendAttributes
DomainError Empty inNames in Xml_AppendAttributes.
DomainError Invalid XmlNode in Xml_AppendAttributes.
DomainError Unable to append new attributes to the input node in Xml_AppendAttributes.

See Also