Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32060

xslt code

$
0
0
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


Viewing all articles
Browse latest Browse all 32060

Trending Articles