Either "use a key", or "use a product whose optimizer does automatic
indexing" - like Saxon-SA (shameless plug).
I did think while writing that, that I was opening a large door for you
to jump through:-)
It actually makes it hard to give general advice: On the whole I assume
(when writing answers, if not in my own code) that there is no
optimisation going on. It doesn't (normally) do any harm if people write
an "efficient" version rather than an "inefficient" version even if in
some cases a smart optimiser actually takes the inefficient idiom and
rewrites it to something that turns out to be more efficient than the
native "efficient" version. (I think that you do this for some //
idioms).
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
--~------------------------------------------------------------------
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>
--~--