How to delete items having nodes containing numbers
Posted: Mon Mar 13, 2017 1:05 pm
Hi,
I love the software however I have a problem regarding a XML file.
The XML structure looks like this:
<PRODUCTS>
<PRODUCT>
<ID><![CDATA[1]]</ID>
<NAME>TEST</NAME>
</PRODUCT>
<PRODUCT>
<ID><![CDATA[ABC1]]</ID>
<NAME>Test with letters</NAME>
</PRODUCT>
</PRODOUCTS>
How can I search and delete all products with numbers only? Also I would like to know if it's possible to wrap nodes? Lets say I want to wrap all NAME nodes inside my PRODUCT with <INFO></INFO>
I love the software however I have a problem regarding a XML file.
The XML structure looks like this:
<PRODUCTS>
<PRODUCT>
<ID><![CDATA[1]]</ID>
<NAME>TEST</NAME>
</PRODUCT>
<PRODUCT>
<ID><![CDATA[ABC1]]</ID>
<NAME>Test with letters</NAME>
</PRODUCT>
</PRODOUCTS>
How can I search and delete all products with numbers only? Also I would like to know if it's possible to wrap nodes? Lets say I want to wrap all NAME nodes inside my PRODUCT with <INFO></INFO>