[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Select All Except First and Last

Subject: Re: [xsl] Select All Except First and Last
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 03 Dec 2013 23:52:48 +0000

On 03/12/2013 23:31, Matthew L. Avizinis wrote:
extent[1 lt position() eq following-sibling::extent]

hard to guess what you'd intend that to mean, but it generates

XPST0003: XPath syntax error at char 23 on line 5 in {...ition() eq following-siblin...}:
expected "]", found "eq"

1 lt position() is a boolean

following-sibling::extent is a sequence of nodes

what would you expect eq to do given those arguments (if it parsed at all)?


Current Thread