Back to FabImage Library Lite website
You are here: Start » 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.
Appends new attributes to the node.
Syntax
void fil::Xml_AppendAttributes ( const fil::XmlNode& inNode, const ftl::Array<ftl::String>& inNames, const ftl::Array<ftl::String>& inValues, fil::XmlNode& outNode )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inNode | const XmlNode& | Node to which new attributes will be added. | |
![]() |
inNames | const Array<String>& | Attributes names. | |
![]() |
inValues | const Array<String>& | Attributes values. | |
![]() |
outNode | XmlNode& |
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.
Errors
Error type | Description |
---|---|
DomainError | Invalid XmlNode in Xml_AppendAttributes. |
DomainError | Empty inNames in Xml_AppendAttributes. |
DomainError | Arrays inNames and inValues has different size in Xml_AppendAttributes. |
DomainError | Empty attribute name in Xml_AppendAttributes |
DomainError | Attribute name cannot start with a digit in Xml_AppendAttributes. |
DomainError | Unable to append new attributes to the input node in Xml_AppendAttributes. |
See Also
- Xml_AddChildNodes – Appends new children nodes to the XML node.
- Xml_AddChildNodes_OfArray – Appends new children nodes to the XML node.