I want to have only the ones in which v="YES". how can I search for that in order to have this as output:<?xml version="1.0" encoding="UTF-8" ?> <e> <p id="1" v="YES"> <1>The</1> <2>Bye</2> </p> <p id="2" v="NO"> <1>Border</1> <2>Lamp</2> </p> </e>
<code> <?xml version="1.0" encoding="UTF-8" ?> <e> <p id="1" v="YES"> <1>The</1> <2>Bye</2> </p> </e>
In reply to searching the XML file for certain nodes by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |