Returns a single value of a specified element in an XML value. If the element itself has children, then an array value of the child data will be returned.
SppXmlGetElementValue([XML], [Element Path], [Result as XML], [Show Siblings])
XML is an object such as that returned from SppXmlLoad or SppXmlFromString.
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\Items\Item\6 to return the value for the 6th Item).
Result as XML is TRUE to show the results in XML format IF the result is itself an element or array of elements. FALSE to show the results as a value or array value.
Show Siblings is TRUE to show values for all elements of the same name, FALSE to only return the first instance of the element.
|SppXmlGetElementValue(DWVariableXMLLoad,"Quote\CompanyAddress1",FALSE,TRUE)||Will return the value of the element in the xml file for the given path.|