• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
need help in converting xml to array

I am new to codeigniter and xml api also. i want to send below mention request to a srver in XML format. i want to use xmlrpc for the same. kindly help me in converting below mention xml to array so that xmlrpc will parse this array and output will be the same xml.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <OTA_HotelAvailRQ xmlns="http://www.opentravel.org/OTA/2003/05">
<RequestorID MessagePassword= "*****" ID= "****" Type="CHM"/>
<HotelRef HotelCode="00008164"/>
<StayDateRange Start="2016-04-01" End="2016-04-12">
Thanks & Regards
Sandeep Goel

Messages In This Thread
need help in converting xml to array - by goel.sandy86 - 04-10-2016, 12:28 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.