mtroost
10 years agoOccasional Contributor
wildcards in XPATH expressions?
Context: In a groovy script, a request is modified as in
holder1["//NodeA/ObjectID"]=project.getPropertyValue("objectid") holder1["//NodeB/ObjectID"]=project.getPropertyValue("objectid") ...
You can see the node always starts with Node ans is then followed optionally by some string.
Question: Is it possible to make 1 XPATH expression taht matches all Node* named nodes? Is there a different way to achieve this in a different way?
The reason a groovy script is used is because lots of requests have to be changed and regular property transfer doesnt allow that (I presume).