[Flash8] removenode() help

Back again :puzzled: I have been working on creating a more advanced version of senocular’s news editor http://www.kirupa.com/web/xml/examples/newseditor.htm to use as a back end for editing an xml portfolio. My problem now is that I need to be able to delete one of the portfolio entries and I am not 100% sure how to create the delete function. I think using removenode(); would work but I’m not sure how to use it if anyone could point me in the right direction that would be great. My XML file is made up as follows



   <images>
<pic>
  <caption>test/jpg</caption>
  <image>test</image>
<thumb>  </thumb>
</pic>
<pic>
  <image>images3/car.jpg</image>
  <caption>Car 1</caption>
<thumb>THUMB</thumb>
</pic>
</images>