GetXAttribute Method
Retrieve the value at the specified XPath in the SOAP response.
Syntax
String __fastcall GetXAttribute(String Xpath): StringRemarks
The GetXAttribute method allows you to access a specific part of the SOAP response, through XPath.
For instance, to obtain the title of the first subsite, you could do the following:
SPSite.listSubSites(); Print SPSite.getXAttribute("/soap:Envelope/soap:Body/GetWebCollectionResponse/GetWebCollectionResult/Webs/Web[1]/@Title");
The contents of the SOAP response can be retrieved through the SOAPResponse configuration setting.