[Home] [By Thread] [By Date] [Recent Entries]
Could anyone tell me if the following code would work? What I want it to do
is take all image tags containing gif images (NOT jpg images) and change
them in the output to <img src="image.gif.wbmp" />
<xsl:template match="img">
<xsl:if test="@src='*.gif'">
<img src="{@src}.wbmp" />
</xsl:if>
</xsl:template>
Thank you!
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



