hi
I have Send XML requests via HTTP POST messaging to a URL.
As a response server is sending result in form of XML.
Here is my question....
How to read that response in array. That some thing looks like this in source code.
This is just part of the code.
<?xml version="1.0" encoding="UTF-8"?>
<HotelAvailRes1>
<DestCode>JHM</DestCode>
<HotelCode>OGGSHE</HotelCode>
<CheckInDate>101009</CheckInDate>
<CheckOutDate>101509</CheckOutDate>
<UseField>1</UseField>
<Room>
<RoomDesc> 5 NTS Sheraton Maui Resort & Spa Partial Ocean View AAHOPP3 NEW BOOKINGS ONLY</RoomDesc>
<RoomStatus>Closed</RoomStatus>
<RackPrice>1798.65</RackPrice>
<RackDisc>788.65</RackDisc>
<Inventory>999CC</Inventory>
<UnderPenalty>PENALTY IN 42 DAYS (LOSE 2 NTS)</UnderPenalty>
<CommPercent>14.00</CommPercent>
<UnitComm>1.93</UnitComm>
<FamilyPlan>C</FamilyPlan>
<BookItCode>JAAAABHZ 101</BookItCode>
</Room>
<Room>
<RoomDesc> 5 NTS Sheraton Maui Resort & Spa Ocean View AAHOPP3 NEW BOOKINGS ONLY</RoomDesc>
<RoomStatus>Closed</RoomStatus>
<RackPrice>1911.05</RackPrice>
<RackDisc>836.05</RackDisc>
<Inventory>999CC</Inventory>
<UnderPenalty>PENALTY IN 42 DAYS (LOSE 2 NTS)</UnderPenalty>
<CommPercent>14.00</CommPercent>
<UnitComm>2.09</UnitComm>
<FamilyPlan>C</FamilyPlan>
<BookItCode>JAAAABHZ 111</BookItCode>
</Room>
............................
Continue ....
Thanks