[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 17:39:46 +0100 |
> will it be much faster, do you think, having a dedicated "same-nodes" > comparison operator? or just make for more readable XSL? I'd expect that in Saxon, for this predicate, the difference is noticeable, but whether it affects the overall stylesheet execution time is anyone's guess. Another technique is select="//ptr[count(.|key('targets',@target)[1])=1]"> And incidentally: select="/descendant::ptr[count(.|key('targets',@target)[1])=1]"> might save you a sort. (Saxon will do this optimisation for you in some cases but probably not here) Mike K 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 , Pawson, David |
RE: How to Reorder Items & Number T, Kay Michael | Date | RE: Blank textarea, Kay Michael |
Month |