[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Expected token 'eof' encountered '['

Subject: RE: Expected token 'eof' encountered '['
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Wed, 09 Jul 2003 17:03:47 +0100
expected token eof
Are you sure you're using XSLT not WD-XSL?

--

Joe


From: "Tengshe, Ashish" <Tengshe.Ashish@xxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE:  Expected token 'eof' encountered '['
Date: Wed, 9 Jul 2003 10:39:51 -0500

Solved.
Changed the line to

<xsl:choose>
   <xsl:when test="genre='Romance'">

though I will like to know why that was happening?
Is '[' an eof token?
Thank you all!
Ashish Tengshe


-----Original Message----- From: Tengshe, Ashish Sent: Wednesday, July 09, 2003 10:15 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Expected token 'eof' encountered '['


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


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



_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you. http://www.msn.co.uk/internetaccess



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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.