I am running into a similar problem as
.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:
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.
There was an excellent article written by Deke Smith from Twin Technologies that explains how to use the Execute Script service if you are looking to understand how to use the Execute Script service. This may help you to build the XPath if it is saved as an XML variable.
Hope that helps.
Thanks for responding Gil. This article is the basics of how to use the ExecuteScript service. I'm familiar with this service. Specifically, I'm trying to dynamically generate an XPATH location to store data. Since I don't have a background as a java developer, I'm having trouble figuring out the method to accomplish this.
The link I originally quoted was helpful because it outlined how to dynimcally build the Expression (which I also need ...and actually got working) but it doesn't mention how to build the XPATH location. For this operation, I need to dynamically build both the Expression and the Location. I'm halfway there.