This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
xsl:if - will this work?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: xsl:if - will this work?
- From: Laura Price <lprice at rim dot net>
- Date: Mon, 5 Jun 2000 09:35:28 -0400
- Reply-To: xsl-list at mulberrytech dot com
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