Hello, I'm able to receive and display my XML message using the following (in my .asp file):
The message arrives in normal XML format:
I would like to create an array and assign each item in the XML list to a variable which I can then use throughout my ASP page.
Can somebody please assit me?
Thanks
Antony
Code:
Response.ContentType = "text/xml"
Response.Write(httpRequest.ResponseText)
The message arrives in normal XML format:
Code:
<ChargeList>
<Charge>
<Name>Fare</Name>
<Currency>GBP</Currency>
<Price>259.29</Price>
</Charge>
<Charge>
<Name>Waiting Time</Name>
<Currency>GBP</Currency>
<Price>0.00</Price></Charge>
</ChargeList>
I would like to create an array and assign each item in the XML list to a variable which I can then use throughout my ASP page.
Can somebody please assit me?
Thanks
Antony