7D2DSDX / SDX

SDX 0.7.x
0 stars 0 forks source link

SDX 0.7.X - Feature Request - Multiple nodes in xpath #12

Open StompyNZ opened 6 years ago

StompyNZ commented 6 years ago

Change the xpath code from SelectSingleNode to SelectNodes and iterate over the results.

This would make the xpath act closer to standards and allow removing multiple nodes of the same tag etc

e.g.

    <remove xpath="/gamestages/group" />

Current only removes the first hit, but ideally should remove all nodes in gamestages