Hi Jacky,
I'm using 5.5.2.191 for this:
I have a folder with 4 xml files in it, the content is as follows:
test1.xml
<?xml version="1.0" encoding="utf-8"?>
<ara>
<envprefix>DEV</envprefix>
</ara>
test2.xml
<?xml version="1.0" encoding="utf-8"?>
<ara>
<envprefix>ACT</envprefix>
</ara>
test3.xml
<?xml version="1.0" encoding="utf-8"?>
<ara>
<envprefix>PROD</envprefix>
</ara>
test4.xml
<?xml version="1.0" encoding="utf-8"?>
<ara>
<envprefix></envprefix>
</ara>
for the flow I have the following:
As you see, in the end I have the entry of test3.xml twice in my result, which means that the xpath action doesn't reset it's result when it doesn't find anything.
best regards
michael