I'm using Pentaho 'Get data from XML'.
I want to select all children <price> whose parent <book> name is '1.1'.
<bookstore>
<book name = '1.1'>
<title lang="en">Learning XML</title>
<price>29.99</price>
<price>39.99</price>
<price>59.99</price>
</book>
<book name = '1.2'>
<title lang="en">Harry Potter</title>
<price>39.95</price>
</book>
</bookstore>
The configuration I put with the step are this:


And the result I got are the following:

If I change the 'Loop Xpath' in Content like: /bookstore/book/price I got 4 rows of the same first price (29.99).