[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Large text files


Subject: Re: [xsl] Large text files
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 30 Nov 2014 22:44:50 -0000

The focus in XSLT 3.0 is on streaming large XML documents, however the need
for streaming large text files has not been overlooked.

Two of the features that were added to make this easier for implementations to
achieve are

(a) the unparsed-text-lines() function. The WG considered that most use cases
for processing large text files started by breaking it into lines, and that it
was easier for implementation to achieve this if there was an explicit
function to read the file as a sequence of lines.

(b) the ability to do xsl:for-each-group starting-with and ending-with with
patterns that match strings rather than nodes

There's no explicit way of saying that you want text input streamed; the WG
felt that given the above constructs, implementations would be able stream the
input without further guidance from the user.

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




On 30 Nov 2014, at 22:33, Ihe Onwuka ihe.onwuka@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> Am I right that XSLT 3.0 streaming doesn't extend to very large text files,
i.e 2.0 limitations still apply.
> XSL-List info and archive
> EasyUnsubscribe (by email)


Current Thread
Keywords