xsl-list
[Top] [All Lists]

Re: [xsl] Streaming best practice: no user-defined functions with node parameters ... Do you agree?

2013-11-15 08:58:45

On 15 Nov 2013, at 14:30, Wendell Piez <wapiez(_at_)wendellpiez(_dot_)com> 
wrote:

But does it mean we won't be able (when
streaming) to call functions even with temporary trees or snapshots?

In the current draft (which we're working hard to get the final bugs out of...) 
we've re-introduced a kind of data-flow analysis that enables us to distinguish 
statically whether the node being passed to a function is a streamed node or 
not. There's no problem with passing "ordinary" nodes to a function (or 
template) parameter, it's only streamed nodes that are problematic.

Michael Kay
Saxonica
--~------------------------------------------------------------------
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>
--~--