$.ajax({ type: 'POST', url: 'booking/getcustomerbookings_XML.php', data: { customerID: escape(customer) }, success: ResultBookingCustomer, });
<bookings>
<booking
application='Hotell_Demo'
customerID='Haakon'
resourceID='1008'
name='Karl Hotel and Resort'
company='Karls'
location='Exmouth'
date='2001-07-20 00:00:00'
position='13'
cost='280'
/>
</bookings>