Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Workbench
Viewing all articles
Browse latest Browse all 69588

Set value with XPath dynamically #2

$
0
0

I am running into a similar problem as

 

http://forums.adobe.com/message/2953296#2953296

 

.but instead of constructing a string from xpath expressions, I'm trying to store a value into a Location based on a concatenated xpath expression.

 

Here is what I'd like to do but it doesn't work:

 

/process_data/@Approver_index = 1

 

Location:

/process_data/formData_flat/xdp/datasets/data/TDCR/RoutingName_[number(/process_data/@Approver_index)]

 

Expression: 'Bob'

 

This works if you were to put the string into the Location but Workbench won't accept this as a Location.  How can I dynamically apply a template xpath expression?  Any help would be great.


Viewing all articles
Browse latest Browse all 69588

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>