cutiewithabooty
New Member
I am fetching data from database and send response in XML like below..I want to fetch data into array or hash and then response to xml.... OR create direct xml..Please refer below xml example...\[code\]<Response> <Tolls> <Toll> <Id>123</Id> <Name>Bradfield Highway</Name> <Address>Bradfield Highway, New York</Address> <Charge>5.95</Charge> <Location lat="41.145556" lng="-73.995"/> <EntryRects> <EntryRect> <Points> <Point lat="41.145556" lng="-73.995"/> <Point lat="41.145556" lng="-73.995"/> <Point lat="41.145556" lng="-73.995"/> <Point lat="41.145556" lng="-73.995"/> </Points> </EntryRects> ... </EntryRects> </Toll> <Toll> ... </Toll> ... </Tolls></Response>\[/code\]please send me response asap if any one know...