psychospiller
Technical User
I am trying to remove specific items from an XML file via ASP and the MS XML DOM but I cant seem to reference the items correctly. The XML structure is fixed so i cant change that but could someone explain to me how to remove a specific <asset> child from the XML below, by using its the asset node's 'id' attribute as a reference ? Thanks
<project>
<folder id="1">
<asset id="99" />
<asset id="100" />
</folder>
<folder id="2">
<asset id="101" />
<asset id="102"><details title="test" /></asset>
</folder>
</project>
<project>
<folder id="1">
<asset id="99" />
<asset id="100" />
</folder>
<folder id="2">
<asset id="101" />
<asset id="102"><details title="test" /></asset>
</folder>
</project>