Re: [xsl] Select All Except First and Last

Subject: Re: [xsl] Select All Except First and Last
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxx>
Date: Tue, 3 Dec 2013 10:33:11 -0500

On Tue, Dec 3, 2013 at 4:07 AM, Hermann Stamm-Wilbrandt
<STAMMW@xxxxxxxxxx> wrote:
>> However, the people who answered, including myself, wanted to provide
>> either shorter and more efficient expressions, or expressions that are
>> funny and thus memorable.
> extent[following-sibling::extent and preceding-sibling::extent]

extent except (extent[1],extent[last()])

I know, not so funny. Or memorable, since apparently no one ever
remembers 'except'. :-)

Cheers, Wendell

Wendell Piez |
XML | XSLT | electronic publishing
Eat Your Vegetables

Current Thread