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
3 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
- 5 years ago
- 6 years ago
- 2 years ago