I have a simple example
var myXML:XML =
<root>
<element type="a">I am a</element>
<element type="b">I am b</element>
</root>
;
I cant work out how I can programatically remove an element of a specific type
delete myXML.root.element.type['a'][0];