[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: A smarter choose operation XSL 1.1
> Yes, 1.1 Sorry, when I read your title I assumed you were talking about XSL-FO 1.1 (because XSLT 1.1 is a project that was abandoned about 8 years ago), then I saw that it was an XSLT question and forgot about versions. If you want to write code that is less verbose for this kind of logic, you're going to have to move to XSLT 2.0. Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay > > On Wed, Jun 10, 2009 at 4:05 PM, Alexander > Johannesen<alexander.johannesen@xxxxxxxxx> wrote: > > On Thu, Jun 11, 2009 at 09:04, Karl > Stubsjoen<kstubs@xxxxxxxxx> wrote: > >> Performing this simple test: > >> <xsl:variable name="test" select="(1, 2, 3)[1]" /> > >> > >> I am getting the error: > >> Error in expression (1, 2, 3)[1]: expected ")", found "," > >> > >> Did I write that wrong? > > > > Isn't this code XSLT 2.0? You are on a 1.1 platform, no? > > > > > > Alex > > -- > > Project Wrangler, SOA, Information Alchemist, UX, > RESTafarian, Topic > > Maps > > --- http://shelter.nu/blog/ > > ---------------------------------------------- > > ------------------ > http://www.google.com/profiles/alexander.johannesen > > ---
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|