Re: [xsl] Select All Except First and Last

Subject: Re: [xsl] Select All Except First and Last
From: davep <davep@xxxxxxxxxxxxx>
Date: Wed, 04 Dec 2013 08:04:54 +0000
On 03/12/13 15:33, Wendell Piez wrote:
Hi,

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'. :-)


except Wendell?


Cheers, Wendell


Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables
_____oo_________o_o___ooooo____ooooooo_^





regards


--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Current Thread