# How to remove contents of xml from the stage

**URL:** <https://forum.kirupa.com/t/how-to-remove-contents-of-xml-from-the-stage/329076>\
**Category:** Uncategorized\
**Created:** [July 18, 2012, 8:58am UTC](https://forum.kirupa.com/t/how-to-remove-contents-of-xml-from-the-stage/329076 "2012-07-18T08:58:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nellyblissville](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@nellyblissville](https://forum.kirupa.com/u/nellyblissville)\
**Post date:** [July 18, 2012, 8:58am UTC](https://forum.kirupa.com/t/how-to-remove-contents-of-xml-from-the-stage/329076/1 "2012-07-18T08:58:03Z")

</div>

I have an xml file that looks like this:  
\<images\>  
\<image source=“images/Image1.jpg” thumb=“thumbnails/Image1.jpg”\>Description of image 1.\</image\>  
\<image source=“images/Image2.jpg” thumb=“thumbnails/Image2.jpg”\>Description of image 2.\</image\>  
\<image source=“images/Image3.jpg” thumb=“thumbnails/Image3.jpg”\>Description of image 3.\</image\>  
\<image source=“images/Image4.jpg” thumb=“thumbnails/Image4.jpg”\>Description of image 4.\</image\>  
\</images\>

what happens here is that the content is added to the stage in a loop. but i cant figure out how to unload these contents. any clue somebody
