Note that whenever you have a construct like
[(_at_)id=current()/@pr_id]
"use a key" should pop automatically in to your head.
Either "use a key", or "use a product whose optimizer does automatic
indexing" - like Saxon-SA (shameless plug).
(I haven't checked that it works in this case, but it's a textbook example,
so it should)
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--