It's been added to the spec since the book was published.
Generally the book still represents a pretty accurate guide to the language,
but there are one or two late changes that didn't make it in.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Manfred Staudinger
[mailto:manfred(_dot_)staudinger(_at_)gmail(_dot_)com]
Sent: 07 September 2005 18:01
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: xxRe: [xsl] efficient use of key element and function
You can use
if (doc-available($foo)) then doc($foo) else do-something-else
as an alternative to maintaining a list of documents.
I didn't know about, but yes, thats interresting.
Is it something special as I found it mentioned in a reference of
w3schools, but not in Michael's book
(neither in XSLT 2.0, 3rd ed., nor in XPath 2.0)??
Manfred
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--