Forum Discussion
DisTreSs
15 years agoOccasional Contributor
If someone could already tell me how to look up the remainder of the statement where the ID is found, I would be halfway there and will possibly be able to figure out the rest
declare namespace ns1='http://schema.xxxxx.com/bookings;
if (//ns1:booking-reply/ns1:statement/ns1:message/ns1:r/ns1:f[@ft="ib1-21"] = ID123456)
then copy the (//ns1:booking-reply/ns1:statement/ns1:message/ns1:r) part of the booking-reply containing that ID123456) to a property
else 'ID not found'
thx!
declare namespace ns1='http://schema.xxxxx.com/bookings;
if (//ns1:booking-reply/ns1:statement/ns1:message/ns1:r/ns1:f[@ft="ib1-21"] = ID123456)
then copy the (//ns1:booking-reply/ns1:statement/ns1:message/ns1:r) part of the booking-reply containing that ID123456) to a property
else 'ID not found'
thx!
Related Content
- 2 years ago
- 7 months ago
Recent Discussions
- 3 days ago