Will return an XML formatted object with a new attribute value.
SppXmlSetAttributeValue([XML],[Path],[Attribute Name],[Value])
Where:
XML is an object such as the returned value from SppXmlLoad or SppXmlFromString.
Path is a full path to the element, that contains the attribute, inside the XML object (For example, Quote\Customer). Element path is case sensitive
Attribute Name is the name of the attribute to set.
Value is the new value to set the attribute to.
Rule | Result | Meaning |
---|---|---|
SppXmlSetAttributeValue(DWVariableXMLLoad,"Catalog","Lang","eng") | Will set value of the specified attribute to the new value given. |