Back to FabImage Library website

You are here: Start » Function Reference » Xml » Xml_CreateNode

Xml_CreateNode


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

Creates a new XmlNode.

Syntax

void fil::Xml_CreateNode
(
	const ftl::String& inName,
	const ftl::String& inText,
	const ftl::Array<ftl::String>& inAttributeNames,
	const ftl::Array<ftl::String>& inAttributeValues,
	fil::XmlNode& outNode
)

Parameters

Name Type Default Description
inName const String& Node name.
inText const String& Text value of XmlNode.
inAttributeNames const Array<String>& Attributes names.
inAttributeValues const Array<String>& Attributes values.
outNode XmlNode&

Errors

List of possible exceptions:

Error type Description
DomainError inAttributeNames and inAttributeValues have different items count in Xml_CreateNode.

See Also