Here's what I need to do: sample XML (not sure if it displays right here)
<Tags>
<Tag ID="0" UserTotal="1" AllowMultipleSelect="1">
<Name>BaseSamples</Name>
<Sample ID="546" Count="1">Sample1 </Sample>
<Sample ID="135" Count="1">Sample99</Sample>
<Sample ID="544" Count="1">Sample2</Sample>
<Sample ID="5818" Count="1">Sample45</Sample>
</Tag>
</Tags>
I want to delete:
<Sample ID="135" Count="1">Sample99</Sample>
and pass the XML back as:
<Tags>
<Tag ID="0" UserTotal="1" AllowMultipleSelect="1">
<Name>BaseSamples</Name>
<Sample ID="546" Count="1">Sample1 </Sample>
<Sample ID="544" Count="1">Sample2</Sample>
<Sample ID="5818" Count="1">Sample45</Sample>
</Tag>
</Tags>
Any help/tips will be appreciated. I will be knowing the incoming Sample 'ID' attribute, as well as the 'SampleName' (element's CDATA).