[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: using xsl:key to generate list of back references
Subject: RE: using xsl:key to generate list of back references From: Kay Michael <Michael.Kay@xxxxxxx> Date: Mon, 22 May 2000 09:41:49 +0100 |
> select="//ptr[generate-id(.)=generate-id(key('targets',@target)[1])]"> > > when what I really want to say is something like > > <xsl:for-each select="key('targets','')"> > > > Anyone up for Yet Another Extension? > Saxon allows: > select="//ptr[saxon:has-same-nodes(., key('targets',@target)[1])]"> which seems a little more elegant. Certainly using generate-id() in order to test for node identity is pretty clumsy. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: using xsl:key to generate list , Sebastian Rahtz | Thread | RE: using xsl:key to generate list , Sebastian Rahtz |
Re: element with largest ID, David Carlisle | Date | RE: Evaluatable XPath. ( XPath exte, Kay Michael |
Month |