RE: TR/xquery-operators/#func-doc

One more break with xslt 1.0 Michael?
More stylesheet changes if someone wants to move to 2.0?


> You can always pass a stylesheet parameter that gives the URI of the
> stylesheet, and use this parameter to retrieve the source code.

Yes, as was the case in 1.0.
People didn't use it.

> 
> However, the need for this coding technique will greatly 
> decline in XSLT
> 2.0. It was used in XSLT 1.0 almost exclusively to handle 
> fixed look-up
> tables, which can be handled in XSLT 2.0 much more efficiently using
> temporary trees held in global variables.

The classic of 
<months>
 <January>
 ...

as a look up. 

I can't see how a temporary tree will help there?

I dislike this change.

E.g. when moving from a workstation development to a server,
the file location will need changing?
Yes, it can be worked round. The elegance of document('') is now
well known and of great utility.

Seems a bad decision to change it.

regards DaveP



- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 

Received on Wednesday, 14 May 2003 03:36:32 UTC