standard.lib.xml.xmlRemoveProp

xmlRemoveProp is available since version 1.0.

Prototype:

number xmlRemoveProp(number prop)

Parameters

prop
a property handle

Description:

Unlink and free one attribute, all the content is freed too Note this doesn't work for namespace definition attributes.

Return value:

Returns 0 if succeeded or -1 in case of error.