node-attribute-setter

Sets the value of an attribute of an <xml-element>.  This function does not follow the normal -setter syntax.  If attribute is not present in element, it is added.

Exported from

Modifiers

sealed

Arguments

valueAn instance of <string>.  The new value of the attribute.
elementAn instance of <xml-element>.
attributeAn instance of <string>.  The name of the attribute.

Values

valueAn instance of <string>.  The value argument.
A class representing an XML element.
The simple-xml module provides basic XML parsing and navigation.
The class of sequences with elements that are characters.