Back to Aurora Vision Library Lite website

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

Xml_SetAttributes


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

Sets values of attributes which were selected using XPath request.

Syntax

void avl::Xml_SetAttributes
(
	const avl::XmlNode& inNode,
	const atl::String& inXPath,
	const atl::String& inValue,
	avl::XmlNode& outNode
)

Parameters

Name Type Default Description
Input value inNode const XmlNode& Source node.
Input value inXPath const String& XPath criteria.
Input value inValue const String& Value to set to attributes
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.

Errors

List of possible exceptions:

Error type Description
DomainError Invalid XmlNode in Xml_SetAttributes.
DomainError Invalid XPath in Xml_SetAttributes.
DomainError XPath doesn't lead to a valid attribute or an attribute doesn't exist. Attributes are identified with @name specifier in Xml_SetAttributes.

See Also