standard.lib.xml.xmlSetNsProp

xmlSetNsProp is available since version 1.0.

Prototype:

number xmlSetNsProp(number node, number ns, string name, string value)

Parameters

node
the node
ns
the namespace handle
name
the attribute name
value
the attribute value

Description:

Set (or reset) an attribute carried by a node. The ns structure must be in scope, this is not checked

Return value:

Returns the attribute handle or null if failed.