xsl:if - will this work?

Subject: xsl:if - will this work?
From: Laura Price <lprice@xxxxxxx>
Date: Mon, 5 Jun 2000 09:35:28 -0400
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


Current Thread