Hot to export xpath search
Posted: Thu Feb 11, 2016 8:05 am
How do I export the nodes of my search:
so here is my example xml:
my xpath:
now what I want is the possibility to export the search this way, would be easy to hand manually was not for the case that my xml has 3.500.000 lines
so here is my example xml:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<notes version="1">
<note player="morgan" label="7" update="1">content</note>
<note player="jack" label="12" update="1">content</note>
<note player="jon" label="32" update="2">content</note>
<note player="mr rain" label="12" update="2">content</note>
<note player="mr forest" label="32" update="3">content</note>
</notes>
Code: Select all
/notes/note[@update>=2]
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<notes version="1">
<note player="jon" label="32" update="2">content</note>
<note player="mr rain" label="12" update="2">content</note>
<note player="mr forest" label="32" update="3">content</note>
</notes>