Subject: Re: [xsl] Getting a distinct list of node names From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 16 Dec 2003 15:39:42 -0500 |
> > > node:definition/*[not(name() = name(preceding-sibling::*))] > > > >Why should this take a long time? Isn't this the same as > > > >*[not(name() = name(preceding-sibling::*[last()]))] > > preceding-sibling::*[last()]), which therefore won't de-duplicate properly. > > So it won't take a long time, and it won't work either.
But is there a way to express it as a single predicate? I mean, not equal to the name
of any preceding-sibling? Just out of curiousity.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Getting a distinct list o, David Tolpin | Thread | [xsl] Re: Getting a distinct list o, Dimitre Novatchev |
Re: [xsl] Getting a distinct list o, David Tolpin | Date | RE: Re: [xsl] Generating XML fragme, cknell |
Month |