Back to Adaptive Vision Library website
You are here: Start » Function Reference » Xml » Xml_SetAttributes
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Set 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 | |
---|---|---|---|---|
inNode | const XmlNode& | Source node. | ||
inXPath | const String& | XPath criteria. | ||
inValue | const String& | Value to set to attributes | ||
outNode | XmlNode& |
Errors
Error type | Description |
---|---|
DomainError | Invalid XmlNode in Xml_SetAttributes. |
DomainError | XPath doesn't lead to a valid attribute or an attribute doesn't exist. Attributes are identified with @name specifier. |
DomainError | Invalid XPath in Xml_SetAttributes. |
See Also
- Xml_GetBoolAttribute – Gets a node attribute value as Bool.
- Xml_GetIntegerAttribute – Gets a node attribute value as Integer.
- Xml_GetRealAttribute – Gets a node attribute value as Real.
- Xml_GetStringAttribute – Gets a node attribute value as String.