Subject: Re: xsl:if testing elements From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 2 Nov 1999 10:22:28 GMT |
<xsl:if test="BAR = 'Green'"> ... do something for Green BAR </xsl:if> That is legal but is false for <BAR> Green </BAR> because of the white space. You want test="normalize-space(BAR) = 'Green'"> David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: if testing elements, Richard Lander | Thread | Re: XML/XSL on the client for dynam, Tim Taylor |
RE: How can you tell if a variable , Kay Michael | Date | MIF output from XT, sotiris |
Month |