Link to home
Start Free TrialLog in
Avatar of globalterminal
globalterminal

asked on

reading an XML file in classic ASP/vbscript

In my ASP page, I  have variable that has an XML response payload inside.  How would i best parse this field?  to get the node values from the string?  
it is IIS 6.0 so i have some options.  but the ASP is classic ASP and i dont have time rewrite the ASP applications.

when i do this:
 response.Write("FULL XML: " & wsResponse)

i get this:

FULL XML: 3Severe errors occurred, check message.No active truck visit found for Gate Visit Nbr 741.SEVERE<argo:gate-response xmlns:argo="http://www.test.com/argo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.test.com/argo GateWebserviceResponse.xsd"><submit-transaction-response /></argo:gate-response><update-status> <document-update status="ACCEPTED" ></document-update > <entity-updates amount-successful="0" amount-failed="1" amount-not-found="0"> <logical-entity-update logical-entity="n/a" id="unknown" status="FAILED" >No active truck visit found for Gate Visit Nbr 741.</logical-entity-update> </entity-updates> </update-status>


ASKER CERTIFIED SOLUTION
Avatar of Carl Tawn
Carl Tawn
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial