Xpath Reg-Ex option for looping

ParasofttoudayaParasofttoudaya Posts: 199 ✭✭

Hi Team,

I have an requirement, where i need to perform operation on two level of data in array.

is it possible to perform regular xpression like below. (Nested For)

for $itemX in (/root/item)
for $itemY in ($itemX/products/) return
if (condition ) then
$something
else
$something else

Comments

Sign In or Register to comment.