K
kfrost
Hello,
I'm rephrasing a previous post due to no response. I'm trying to figure out
the xpath syntax to get the values from preceding-sibling and
Following-siblings
Say I have a data connection and each set of records returned has a TripID
field. I want to assign a variable the value of the TripID of the
preceding-Sibling or following-Sibling.
Anybody know of how to do this? Here is the syntax to get the current nodes
TripID value.
xdXDocument:GetDOM("Trips")/dfs:myFields/dfs:dataFields/d:Trips/@TripID
I would think it would have been something along the lines of
xdXDocument:GetDOM("Trips")/dfs:myFields/dfs:dataFields/d:Trips/../preceding-sibling/@TripID
But I can't figure it out.
Thanks.
kris
I'm rephrasing a previous post due to no response. I'm trying to figure out
the xpath syntax to get the values from preceding-sibling and
Following-siblings
Say I have a data connection and each set of records returned has a TripID
field. I want to assign a variable the value of the TripID of the
preceding-Sibling or following-Sibling.
Anybody know of how to do this? Here is the syntax to get the current nodes
TripID value.
xdXDocument:GetDOM("Trips")/dfs:myFields/dfs:dataFields/d:Trips/@TripID
I would think it would have been something along the lines of
xdXDocument:GetDOM("Trips")/dfs:myFields/dfs:dataFields/d:Trips/../preceding-sibling/@TripID
But I can't figure it out.
Thanks.
kris