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

Re: Numeric top-level predicates in patterns

Subject: Re: Numeric top-level predicates in patterns
From: "Abel Braaksma (Exselt)" <abel@xxxxxxxxxx>
Date: Wed, 02 Apr 2014 19:09:16 +0200
Re:  Numeric top-level predicates in patterns
On 2-4-2014 17:05, David Rudel wrote:
> On Wed, Apr 2, 2014 at 4:51 PM, Abel Braaksma (Exselt) <abel@xxxxxxxxxx> wrote:
>
>> Then, to make it tricky, what happens here, if the applied set is //foo?
>> (foo[2])[3]
>>
>> I did not find that well-defined in the spec or in Michael Kay's XSLT
>> 2.0 Programmer's Reference book.
> I agree (though I could be wrong) with everything you had up until the
> above. Kay does deal with this topic. See the section on "Filter
> Expressions."
>

That section (in 4th ed, pp 638) does not explain sibling predicates of
which more than one is a numeric predicate, and in the section on
patterns, that is neither mentioned. I agree it is explained in more
general terms, but I tried to find a source for those cases I laid out
in the original post, and couldn't readily find one (that doesn't mean
there is none, of course).

Cheers,
Abel

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.