|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xxRe: efficient use of key element and function
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








