v2025.6.2
All Bundles

XmlAttribute

Represents an XML attribute

Operations

GetName

Gets the name of the attribute

method : public : GetName() ~ String

Return

TypeDescription
Stringattribute name

GetNamespace

Gets the attribute namespace

method : public : GetNamespace() ~ String

Return

TypeDescription
Stringattribute namespace

GetValue

Gets the attribute value

method : public : GetValue() ~ String

Return

TypeDescription
Stringattribute value

New

Constructor

New(name:String, value:String)

Parameters

NameTypeDescription
nameStringattribute name
valueStringattribute value

SetName

Sets the attribute name

method : public : SetName(name:String) ~ Nil

Parameters

NameTypeDescription
nameStringattribute name

SetNamespace

Sets the attribute namespace

method : public : SetNamespace(namespace:String) ~ Nil

Parameters

NameTypeDescription
namespaceStringattribute namespace

SetValue

Sets the attribute value

method : public : SetValue(value:String) ~ Nil

Parameters

NameTypeDescription
valueStringattribute value