[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: ANN: XML Streaming Tutorial

Subject: Re: ANN: XML Streaming Tutorial
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Jan 2015 09:49:12 -0000
Re:  ANN: XML Streaming Tutorial
Excellent stuff, Roger.

Two points of detail:

(a) the slides assert that without a streaming processor / streamable
stylesheet / XSLT 3.0, the result tree will be built in memory rather than
being streamed out directly to the serializer. As far as I know this isn't
true: I think most XSLT processors will stream the output by default. XSLT 3.0
is all about streaming the input; output streaming has never been a problem.

(b) there's a statement that Saxon buffers the output. I know we explored this
last year. The output IS being buffered, but not by Saxon. I think we
concluded that the buffering is happening somewhere either in Java or in the
operating system -- I don't remember the details. But it's not being buffered
within Saxon, and I'm pretty sure it can be prevented by configuring
everything correctly, e.g. by supplying the right kind of OutputStream to
accept the output.


Michael Kay
Saxonica
mike@xxxxxxxxxxxx
+44 (0) 118 946 5893




On 14 Jan 2015, at 23:18, Costello, Roger L. costello@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> Hi Folks,
>
> Want to process web sites that emit a continuous stream of XML?
>
> Want to process XML documents that are huge -- Gigabytes in size?
>
> Want to generate huge amounts of output, without waiting for all the output
to be completed?
>
> You can do all these things with XML Streaming. [1]
>
> Here is my tutorial on XML Streaming:
>
> http://xfront.com/xml-streaming/
>
> /Roger
>
> [1] XML Streaming is provided by XSLT, so it is also known as XSLT
Streaming.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.