|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Preceding: can't filter my nodes?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








