| Subject: [xsl] Expected token 'eof' encountered '[' From: "Tengshe, Ashish" <Tengshe.Ashish@xxxxxxxxxxxxx> Date: Wed, 9 Jul 2003 10:15:16 -0500 | 
I'm getting the following error when trying to transform using MSXML/IE6.0
Expected token 'eof' found '['. .-->[<--genre='Romance']
The code in question is 
<xsl:choose>
   <xsl:when test=".[genre='Romance']">
      <td bgcolor="#ff6666">
  <xsl:value-of select="genre" /></td>	
   </xsl:when>
   <xsl:otherwise>
     <td bgcolor="#ccccff">
  <xsl:value-of select="genre" /></td>	
   </xsl:otherwise>
</xsl:choose>
Can anyone help me solve this?
I don't want to change engines as I need this (XML) to render directly in IE6.0.
I appreciate your help!
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] Creating Hyperlinks using, Rudi Starcevic | Thread | Re: [xsl] Expected token 'eof' enco, David Carlisle | 
| Re: [xsl] Creating Hyperlinks using, David Carlisle | Date | Re: [xsl] xpath question, abbouh | 
| Month |