Re: How to make a like in XSL and use the containes command

Subject: Re: How to make a like in XSL and use the containes command
From: Peter Boot <pboot@xxxxxxxxxxxxx>
Date: Mon, 24 Apr 2000 19:03:54 +0200
Hi, 

Have you checked your spelling?

> "containes(string,searchValue)"
          ^

This works fine for me:

<xsl:template match="rdg">
	<xsl:if test="contains(@wit,$preferredWitness)">
    	<xsl:apply-templates/>
    </xsl:if>
</xsl:template>

where e.g. the wit attribute contains 'A1 C5' and the
preferredWitness variable 'A1'

Regards,
Peter


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread