darma teja

darma teja

  • NA
  • 496
  • 329.7k

xslt code

Aug 1 2013 9:54 AM
Hi All,

I need some help in xslt code.

<xsl:template match="img">
<img>
<xsl:copy-of select="@*|b/@*" />
<xsl:apply-templates />
</img>
</xsl:template>

The above code gives the following result: 



<img alt="" src="123/xyz.jpg">

But I need the result like this:

<img alt="" src="./xyz.jpg">


Thanks
Darma