Solved
Forum Discussion
evoks
8 years agoOccasional Contributor
Hi,
Thanks for your answer.
For each index, I want the tag tree to each node, from the "Body" node
Thanks for your answer.
For each index, I want the tag tree to each node, from the "Body" node
evoks
8 years agoOccasional Contributor
(sorry for my english, I'm studying it at school).
To be more precise, if I have the following XML file :
<Body>
<parent_Node_A>value_A</parent_Node_A>
<parent_Node_B>
<children_Node_B1>value_B1</children_Node_B1>
<children_Node_B2>value_B2</children_Node_B2>
</parent_Node_B>
<parent_Node_C>value_C</parent_Node_C>
<parent_Node_D>
<children_Node_D>value_D</children_Node_D>
</parent_Node_D>
<parent_Node_E>value_E</parent_Node_E>
</Body>
The goal is to capture all parent nodes to each value returned by the groovy script.
For the "value_B1", I have to capture its parent nodes and concatenate them :
"Body/parent_Node_B/children_NodeB1=value_B1"
Second example, for the "value_D" :
"Body/parent_Node_D/children_Node_D=value_D"
Third example, for the "value_E" :
"Body/parent_Node_E=value_E"
I hope I've been more explicit.
Thanks.