Re: [xsl] Scope of uniqueness of generate-id()

Subject: Re: [xsl] Scope of uniqueness of generate-id()
From: John Snelson <john.snelson@xxxxxxxxxx>
Date: Thu, 20 Nov 2008 17:12:34 +0000
Vladimir Nesterovsky wrote:
Until today I was thinking that xslt functions have no side effects
(provided extensions are not considered). It has turned out that this is not correct.
That changes the picture (at least for me).
Many possible optimizations are not safe.

It's not that bad. You just have to be careful in expressions where nodes are created and the results of the expression rely on properties related to the node ID. In practice that doesn't happen that often.


John

--
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:            http://oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net

Current Thread