Skip to content

Instantly share code, notes, and snippets.

@zirosas
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zirosas/a5c9ff08b087ce0ac521 to your computer and use it in GitHub Desktop.
Save zirosas/a5c9ff08b087ce0ac521 to your computer and use it in GitHub Desktop.
<ExhibitorList BoothID="164991">
<BoothNumber>N1849</BoothNumber>
<CompanyID>407</CompanyID>
<CompanyNumber>166212</CompanyNumber>
</ExhibitorList>
SoapResponse = xmlParse(httpResponse.fileContent);
ResponseNodes = xmlSearch(SoapResponse, "//*[ local-name() = 'ExhibitorList' ]");
for (i = 1; i lte arrayLen(ResponseNodes); i++) {
BoothNumber = ResponseNodes[i].BoothNumber;
CompanyID = ResponseNodes[i].CompanyID;
CompanyNumber= ResponseNodes[i].CompanyNumber;
BoothID = ResponseNodes[i].XmlAttributes.BoothID;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment