Subject: RE: [xsl] Problem with xsl:choose From: Jarno.Elovirta@xxxxxxxxx Date: Wed, 8 Aug 2001 11:15:08 +0300 |
> what you want is either: > > <xsl:template match="/"> > ... > </xsl:template> > > or > > <xsl:when test=".='On'"> This still would always match the xsl:otherwise because of the spaces around the 'On'. Use <xsl:when test="normalize-space(.)='On'"> if the spaces are insignificant, or <xsl:when test=".=' On '"> if not. Jarno XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Problem with xsl:choose, Oleg Tkachenko | Thread | RE: [xsl] Problem with xsl:choose, Ben Robb |
RE: [xsl] Problem with xsl:choose, Yogesh | Date | Re: [xsl] List in a variable, Goetz Bock |
Month |