[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Preceding: can't filter my nodes?

Subject: RE: Preceding: can't filter my nodes?
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Wed, 13 Sep 2000 10:35:26 +0100
saxon distinct
Kay Michael 

> "preceding", like all the other axes, means "preceding in the source
> document", not "preceding in the node-set".
> 
> I'm tempted to suggest the saxon:distinct() function, but I 
> know that's
> cheating! select="saxon:distinct($ats/AT_ID)"

The number of users who trip over this, looking 
for a context change to change the definition of the axis;
e.g.
  <for-each>
   <sort>
     ..look for unique / first of its kind etc.

Is this one for XSLT 2.0 ?
  Either saxon:distinct, or something which will allow us
to work in the node-set that we have created in the new context.

 I'll look to others for suggestions, but I think the principle
is valid, especially with its frequency of use.

Regards DaveP


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.