0

I'm having some trouble with a double-eval concatenation. I am using the formula xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM("REST Vacation")/ns1:feed/ns1:entry, 'concat(//d:EmployeeID, ";")'),".."), and it is ALMOST working. The problem is that while I get the proper number of output values, they are all the first value of the list (i.e. if my list were { 15, 32, 46, 71, 42 }, I would get back "15;15;15;15;15;"). Has anyone had this problem? I think it has to do with the ".." in the outer eval() function, but I have tried things like "../.." and get no results at all. Any ideas?

1

Figured it out- just had to add a "." in front of //d:EmployeeID and it started working properly.

IE.

eval(eval(DisplayName, 'concat(.,"; ")'), "..")

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.