|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Processing Instructions
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/
|
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








