Subject: RE: [xsl] Expected token 'eof' encountered '[' From: "Tengshe, Ashish" <Tengshe.Ashish@xxxxxxxxxxxxx> Date: Wed, 9 Jul 2003 11:21:12 -0500 |
Thank you for the responses. I'm using XSL and I swear that this same code <xsl:when test=".[genre='Romance']"> though not correct was running/rendering on IE many(all) times (a year or two ago). Weird. Today I transformed the file after a long time and it rendered fine once before throwing the error when I refreshed the browser. I've corrected the code. Thanks again! Ashish -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: Wednesday, July 09, 2003 11:02 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Expected token 'eof' encountered '[' <xsl:when test=".[genre='Romance']"> ^^ as the error message indicated you can not ever follow . by [ in Xpath 1. You want <xsl:when test="genre='Romance'"> David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Expected token 'eof' enco, G. Ken Holman | Thread | Re: [xsl] Expected token 'eof' enco, David Carlisle |
RE: [xsl] Expected token 'eof' enco, G. Ken Holman | Date | [xsl] Process External XML source w, Karl J. Stubsjoen |
Month |