xsl-list
[Top] [All Lists]

Re: [xsl] Re: xslt 3.0 possible feature - some sort of collection to help when streaming

2011-03-11 04:23:48

Interesting.. probably very naive here, but it sounds a bit like it
could be done as the Observer pattern where each observer is a sax
ContentHandler registering itself with whatever is processing the
stream (another ContentHandler) and then for each event, it calls the
respective event on each of the observers.

Yes, that's exactly how I see it working. It just depends on having everything working internally in push mode - which is basically how streaming works in Saxon. Although I haven't implemented xsl:fork yet, I don't see it being a big problem.

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