Parsing the first image src of a list
<p>I need to parse a value from an xml and place it to image's src field.
I tried parsing it as <code>$(".photoBox img").append(ImageSmURL);</code>
and I got</p>

<pre><code>&lt;img src="" alt=""&gt;/FLPM/media/images/0E7Q9Z0C_sm.jpg/FLPM/media/images/2A9L1V2X_sm.jpg&lt;/img&gt;
</code></pre>

<p>how do I do it so the result will be as...</p>

<pre><code>&lt;img src="/FLPM/media/images/0E7Q9Z0C_sm.jpg" alt="" /&gt;
</code></pre>

<p>My xml</p>

<pre><code>&lt;Images&gt;
&lt;ImageID id="63"&gt;
&lt;ImageSmURL&gt;/FLPM/media/images/5V2G4Q5S_sm.jpg&lt;/ImageSmURL&gt;
&lt;ImageLgURL&gt;/FLPM/media/images/5V2G4Q5S.jpg&lt;/ImageLgURL&gt;
&lt;/ImageID&gt;
&lt;ImageID id="64"&gt;
&lt;ImageSmURL&gt;/FLPM/media/images/5Y2K4T5V_sm.jpg&lt;/ImageSmURL&gt;
&lt;ImageLgURL&gt;/FLPM/media/images/5Y2K4T5V.jpg&lt;/ImageLgURL&gt;
&lt;/ImageID&gt;
&lt;/Images&gt;
</code></pre>
