Home Search

DriveWorks Pro 22
SppXmlRemoveAllAttributes

Send Feedback

SppXmlRemoveAllAttributes

Will return an XML formatted object with all attributes removed from a specific element.

Syntax

SppXmlRemoveAllAttributes([XML],[Path])

Where:

XML is an object such as the returned value from SppXmlLoad or SppXmlFromString.

Path is a full path to the element inside the XML object (For example, Quote\CustomerName).

Element Path is case sensitive

Example

RuleResultMeaning
SppXmlRemoveAllAttributes(DWVariableXMLFromString,"Quote\CustomerName")Will return an Array with all attributes removed from the path Quote\CustomerName.