SetXMLAttribute()

Syntax

SetXMLAttribute(Node, Attribute$, Value$)
Description
Sets the value of the attribute on the given XML node. If the attribute does not exist yet, it will be added.

Parameters

Node The XML node to set the atttribute.
Attribute$ The attribute name to change or create.
Value$ The new value to set.

Return value

None.

Remarks

Only nodes of type #PB_XML_Normal can have attributes. For all other node types this function is ignored.

See Also

GetXMLAttribute(), RemoveXMLAttribute()

Supported OS

All

<- SaveXML() - XML Index - SetXMLEncoding() ->