xsl-list
[Top] [All Lists]

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

2008-11-20 12:13:11
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>