| Subject: RE: [xsl] How to use generate-id() inside an xsl:function  without a node available? From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 27 Feb 2007 23:28:18 -0000 | 
> Unless the XSLT processor decides to "optimize" this and > makes the node global(static) -- moves it outside the scope > of the function.... It's not allowed to. In that respect, XSLT and XQuery are not purely functional: node creation has a limited side-effect. This comes out most strongly in XQuery, where you will see plenty of tests in the test suite like count(for $i in 1 to 10 return <a/>) Michael Kay http://www.saxonica.com/
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] How to use generate-id() , David Carlisle | Thread | Re: [xsl] How to use generate-id() , Abel Braaksma | 
| Re: [xsl] How to display the previo, G. Ken Holman | Date | Re: [xsl] How to use generate-id() , Abel Braaksma | 
| Month |