I have a XML and XSL code, products have images and description. I want to append this images in description tag.
<images>
<img_item type_name="">http://www.example.com.tr/ExampleData/example1.jpg</img_item>
<img_item type_name="">http://www.example.com.tr/ExampleData/example2.jpg</img_item>
<img_item type_name="">http://www.example.com.tr/ExampleData/example3.jpg</img_item>
</images>
I write XSL code like this (But it does not get value of img_type) :
<Description>
<xsl:for-each select="images/img_item">
<xsl:text><![CDATA[<br/><img src="]]></xsl:text>
<xsl:value-of select="images/img_item"/>
<xsl:text><![CDATA[" />]]></xsl:text>
</xsl:for-each>
</Description>
My Code does not work. How can i get value of img_type (how can i get these links.)