PDA

View Full Version : Displaying data


jamil05
09-26-2006, 09:27 PM
hi all,

I am receiving a value from a web service as follows:

<GetBookingsNewResponse><GetBookingsNewResult><NewDataSet>
<bookings><BookingSeqNo>1</BookingSeqNo><BookingId>Bk001</BookingId><DepartureDate>2006-09-25T00:00:00-07:00</DepartureDate><DateBooked>2006-08-30T00:00:00-07:00</DateBooked><Customer_x0020_BookingNo>bk001</Customer_x0020_BookingNo><Customer_x0020_BookingSeqNo>1</Customer_x0020_BookingSeqNo><PickUpPointTime>1899-12-30T12:00:00-08:00</PickUpPointTime><Remarks>none</Remarks><DepartureTime>1899-12-30T09:18:00-08:00</DepartureTime><InvoiceNo>inv12345</InvoiceNo><BookingStatus>1</BookingStatus><TourMasterId>1</TourMasterId><TourMasterValidFrom>2006-01-01T00:00:00-08:00</TourMasterValidFrom><Salesrep>1</Salesrep><BookingType>1</BookingType></bookings>

I want to display the value on a inputtextbox. how can i do it? how can i manipulate the value and display only the <BookingSeqNo>1</BookingSeqNo> on another inputtextbox.

thanks

notzippy
09-27-2006, 07:00 AM
Your post is in a horrible format.
Manually breakup long xml b4 posting.

You are missing the close for tags
</NewDataSet>
</GetBookingsNewResult>
</GetBookingsNewResponse>

You didnt specify which field you want to display
Read the developers manual. Specifically the datapath section

notzippy
09-28-2006, 05:48 AM
For the BookingSeqNo
Use a datapath like

dataset:/GetBookingsNewResponse/GetBookingsNewResult/NewDataSet/bookings/BookingSeqNo/text()