Forum Discussion
nmrao
12 years agoCommunity Hero
You may see the difference in result when the other query is used, giving the same result multiple times due to additional for loop.
The change to query made, removed '{}'
The change to query made, removed '{}'
for $b in //EquipmentPosition
return (
let $y := //DatEquipmentId[$b]
for $avtext in $y
return (<equipment>{data($avtext)}</equipment>)
)