Hello, I have an XML file and one element called description contains images amongst text..

<description>

<div class="content">

Lorem ipsum.... < img src="http://www.url1" /> Lorem ipsum < img src="http://www.url2" /> etc etc

</description>

Now I would like to extract all images and create a new element for them in the XML file like this:


<images>http://www.url1 , http://www.url2 </images>


Any help will be much appreciated.

many thanks
Andy