Hi,
On mar, 2005-04-19 at 09:57 +0200, James Fuller wrote:
I wont make an arguement for such a bastard child...but it does save a
few cycles
Hmmm... I must be missing something, but I don't see how
"document(fn:namespace-uri(.))" saves cycles compared to
"document(@lnk)"!
Furthermore, your trick requires that you use namespaces in your
instance documents which you might have been able to avoid without it
and these namespaces do add many cycles (for instance imposing that you
use prefixes in all your XPath expressions).
and its usage within XSLT is pretty elegant.
Isn't it very subjective :-) ?
Personally, I wouldn't call using XSLT 2.0 "elegant" at all !
Eric
--
Le premier annuaire des apiculteurs 100% XML!
http://apiculteurs.info/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
--~------------------------------------------------------------------
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>
--~--