This probably has a simple solution.
I have a xml list here. I want to filter out the players by the active tag. All players where the active tag reads “No” I want to delete so that the list only has players with the acrive tag reading “yes”
Thanks in advance
<playerlist>
<player>
<name>George</name>
<position>Defence</position>
<active>no</active>
</player>
<player>
<name>Bill</name>
<position>Defence</position>
<active>Yes</active>
</player>
<player>
<name>Bill</name>
<position>Offense</position>
<active>Yes</active>
</player>
<player>
<name>Henry</name>
<position>Offense</position>
<active>No</active>
</player>
</playlist>;