Forum Discussion
nmrao
Champion Level 1
12 years agoYou 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>)
)