| Subject: RE: xxRe: [xsl] efficient use of key element and function From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Thu, 8 Sep 2005 09:30:07 +0100 | 
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.staudinger@xxxxxxxxx] > Sent: 07 September 2005 18:01 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > 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
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: xxRe: [xsl] efficient use of ke, Colin Paul Adams | Thread | Re: [xsl] AltovaXML Parser, Tony Lavinio | 
| Re: [xsl] First Element Event, Joris Gillis | Date | Re: [xsl] Moving an element to a ne, David Carlisle | 
| Month |