hello,
I'm using ASP and DOM to handle some XML.
I have XML like this:
This is a little simplified, each <a> actaully has more children but I wanted to keep it small.
I need to remove every <a> (and all children) that has <code>DL</code> as a child.
Anybody know how I would go about this?
Thanks!
Travis Hawkins
I'm using ASP and DOM to handle some XML.
I have XML like this:
Code:
<response>
<avail>
<a>
<code>AB</code>
</a>
<a>
<code>DL</code>
</a>
<a>
<code>MD</code>
</a>
<a>
<code>DL</code>
</a>
</avail>
<avail>
<a>
<code>MD</code>
</a>
<a>
<code>DL</code>
</a>
</avail>
</response>
I need to remove every <a> (and all children) that has <code>DL</code> as a child.
Anybody know how I would go about this?
Thanks!
Travis Hawkins