Hi All,

I'm trying to fetch the values of 'Group Membership' attribute of a user through Nodeset query to a local variable.
I'm getting the values in the local attribute. However when I try to read the values in the local variable using 'for-each', i'm getting only the first value alone.

I tried to use the following XPath command
$var-UserGroups/attr[@attr-name="Group Membership"]/value[$current-node]

However even after using the 'current-node' i'm getting the first value alone. The 'for-each' loop is not getting executed.
Pardon me guys my ECMA knowledge is weak

Thanks,
Agnel