Forum Discussion
nmrao
Champion Level 3
I believe it is because of multiple of "segmentReference".
To drill down to single value, use the reference of segmentId
To drill down to single value, use the reference of segmentId
AndresEnriquez
4 years agoOccasional Contributor
I have been reading other posts and articles about Xquery and I wrote this piece of code
<asdf>
{
for $a in //ns3:segmentInfoList/ns3:segmentInfo
where $a/ns3:segmentId='AltaPrepSur'
return <ns3:segmentReference> {data($a/ns3:segmentReference/text())} </ns3:segmentReference>
}
</asdf>
but it doesn't seem to work, it returns the tag <asdf>
Related Content
- 10 months ago
- 5 years ago
- 6 years ago
- 2 years ago
Recent Discussions
- 15 years ago