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

RE: A smarter choose operation XSL 1.1

Subject: RE: A smarter choose operation XSL 1.1
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 11 Jun 2009 08:40:12 +0100
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
> > ---

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.