I have the following XML code:
<quantity1 value="foo" name="bar">
<subquantity duration="2">
<parameter unit="meters" />
</subquantity>
</quantity1>
I want to export all name
s for further analysis in another document, but only if they have a certain subvalue. For example, how can I use regex to find all name
s based on if unit="meters"
?
Bonus points if you can instruct how to do this in Notepad++. Open to other suggestions/SO posts as well.