DriveWorks Pro 16: SppXPathRemoveElement [send feedback...]


Returns an XML formatted object with a specific element removed.


SppXPathRemoveElement([XML],[Element Path])


XML is an XML object such as that returned from SppXMLLoad or SppXMLFromString, or XML as a text string.

Element Path is a full path to the element inside the XML object (for example Quote\Customer). If the element is part of an array with the same name, the path would need to use an instance number (for example Quote\Customer[6] to return the value for the sixth item.

Element Path is case sensitive.


SppXPathRemoveElement(DWVariableXMLFromString,"BOM\Items\Item\Qty")Will return an XML object with the element Qty removed.

Table of Contents