xsl-list
[Top] [All Lists]

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

2013-11-15 09:10:16
On Fri, Nov 15, 2013 at 9:58 AM, Michael Kay <mike(_at_)saxonica(_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.

Yes, excellent. Distinguishing between streamed nodes and nodes in
trees that are entirely accessible makes sense.

Cheers, Wendell

--~------------------------------------------------------------------
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>
--~--