Subject: Re: [xsl] Processing Instructions From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Fri, 7 Dec 2007 12:31:38 +0000 |
On 07/12/2007, Michael Kay <mike@xxxxxxxxxxxx> wrote: > > Replace "preceding::*[1]" by (preceding::*|ancestor::*)[last()] > > > Come to think of it, there's an optimization that might make a big > difference: > > (..|preceding::*[1])[last()] or perhaps: generate-id(.) = generate-id(key('elem-by-pg', @pg)[1]) which is the same as . is key('elem-by-pg', @pg)[1] isn't it? -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Processing Instructions, Michael Kay | Thread | Re: [xsl] Processing Instructions, Deborah Pickett |
RE: [xsl] Processing Instructions, Michael Kay | Date | [xsl] copy nodes based on the crite, Senthil Nathan |
Month |