Hi,
Could you please provide some help with a file we are trying to pass through Magic Parser.
The format is as follows:
<Result>
<Flight FlightHistoryId="207727318" AirlineCode="BMR" LastUpdated="6:53" Flight="BMR 676" StatusCode="S" OriginCity="London" OriginAirportCode="LHR" DestinationCity="Aberdeen" DestinationAirportCode="ABZ" City="Aberdeen" AirportCode="ABZ" ScheduledGateTime="15:00" CurrentGateTime="15:00" RemarksWithTime="On Time" Terminal="1" />
<Flight FlightHistoryId="207727318" AirlineCode="VS" LastUpdated="6:53" Flight="VS 4676" Codeshare="T" StatusCode="S" OriginCity="London" OriginAirportCode="LHR" DestinationCity="Aberdeen" DestinationAirportCode="ABZ" City="Aberdeen" AirportCode="ABZ" ScheduledGateTime="15:00" CurrentGateTime="15:00" RemarksWithTime="On Time" Terminal="1" />
<Flight FlightHistoryId="207727318" AirlineCode="US" LastUpdated="6:53" Flight="US 5483" Codeshare="T" StatusCode="S" OriginCity="London" OriginAirportCode="LHR" DestinationCity="Aberdeen" DestinationAirportCode="ABZ" City="Aberdeen" AirportCode="ABZ" ScheduledGateTime="15:00" CurrentGateTime="15:00" RemarksWithTime="On Time" Terminal="1" />
<Flight FlightHistoryId="207727318" AirlineCode="UA" LastUpdated="6:53" Flight="UA 4862" Codeshare="T" StatusCode="S" OriginCity="London" OriginAirportCode="LHR" DestinationCity="Aberdeen" DestinationAirportCode="ABZ" City="Aberdeen" AirportCode="ABZ" ScheduledGateTime="15:00" CurrentGateTime="15:00" RemarksWithTime="On Time" Terminal="1" />
<Flight FlightHistoryId="207727318" AirlineCode="SK" LastUpdated="6:53" Flight="SK 9752" Codeshare="T" StatusCode="S" OriginCity="London" OriginAirportCode="LHR" DestinationCity="Aberdeen" DestinationAirportCode="ABZ" City="Aberdeen" AirportCode="ABZ" ScheduledGateTime="15:00" CurrentGateTime="15:00" RemarksWithTime="On Time" Terminal="1" />
<Flight FlightHistoryId="207727318" AirlineCode="SA" LastUpdated="6:53" Flight="SA 7642" Codeshare="T" StatusCode="S" OriginCity="London" OriginAirportCode="LHR" DestinationCity="Aberdeen" DestinationAirportCode="ABZ" City="Aberdeen" AirportCode="ABZ" ScheduledGateTime="15:00" CurrentGateTime="15:00" RemarksWithTime="On Time" Terminal="1" />
</Result>
Again, many thanks for your help.
Best regards,
Dereck
Hi Dereck,
Make sure that you're using the Format String as follows:
xml|RESULT/FLIGHT/
That should reveal all attributes of each flight as each record, as per the demo using your data here...
Hope this helps,
Cheers,
David.