Subject: Re: [xsl] Select All Except First and Last From: Wendell Piez <wapiez@xxxxxxxxxxxxxxx> Date: Tue, 17 Dec 2013 18:02:14 -0500 |
Dimitre, On Tue, Dec 17, 2013 at 5:07 PM, Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote: >> extent except (extent[1],extent[last()]) >> >> I know, not so funny. Or memorable, since apparently no one ever >> remembers 'except'. :-) > > Except that this is only defined for sequences of nodes, while the > other answers would also operate on arbitrary sequences. True. IIRC the OP stipulated the problem using EAD 'extent' elements, not in the general case. :-) > Another potential issue: doesn't "except" cause deduplication? It will, and it will also sort nodes into document order; again here that's not a problem. Cheers, Wendell Wendell Piez | http://www.wendellpiez.com XML | XSLT | electronic publishing Eat Your Vegetables _____oo_________o_o___ooooo____ooooooo_^
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Select All Except First a, Dimitre Novatchev | Thread | Re: [xsl] Select All Except First a, Dimitre Novatchev |
Re: [xsl] Re: xhtml via xslt failur, e-letter | Date | Re: [xsl] Re: xhtml via xslt failur, Martin Holmes |
Month |