standard.lib.xml.xmlNewNsProp

xmlNewNsProp is available since version 1.0.

Prototype:

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

Parameters

node
the XML node handle
ns
the XML namespace handle as returned by xmlNewNs
name
the name of the attribute
value
the value of the attribute

Description:

Create a new property tagged with a namespace and carried by a node.

Return value:

Returns an attribute handle.