My XML Response look like this:
<Items>
<Item>
<ImageSets>
<ImageSet Category="Primary">
<SwatchImage>
<URL>http://domain.com/img1.jpg</URL>
<Height Units="pixels">30</Height>
</SwatchImage>
</ImageSet>
<ImageSet Category="Variant">
<SwatchImage>
<URL>http://domain.com/img2.jpg</URL>
<Height Units="pixels">30</Height>
</SwatchImage>
</ImageSet>
<ImageSet Category="Variant">
<SwatchImage>
<URL>http://domain.com/img3.jpg</URL>
<Height Units="pixels">30</Height>
</SwatchImage>
</ImageSet>
</ImageSets>
</Item>
</Items>
Now, How can i get each value of (URL) if there is more than one category??
I need to save all URL in an array, the one that is in primary and all that are in variant. thanks :)