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

Re: Streaming with XSLT version 3.0

Subject: Re: Streaming with XSLT version 3.0
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 6 Mar 2014 16:40:06 +0000
Re:  Streaming with XSLT version 3.0
On 6 Mar 2014, at 14:34, Olivier JEULIN <olivier.jeulin@xxxxxxxxx> wrote:

> 2014-03-06 13:58 GMT+01:00 Terry Badger <terry_badger@xxxxxxxxx>:
>> I have a 42 GB media and valid xml file as my source. I am using Oxygen
15.2 with Saxon ee 9.5.1.3. I am using this stylesheet which as you can see I
turned off what I wanted to do to see if I could get to the end of the file.
After about 45 minutes it hits my memory limit and quits. Am I doing this
right or will I need to cut this elephant into pieces?
>> Terry
>>
>> <xsl:stylesheet
>> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>> xmlns:xs="http://www.w3.org/2001/XMLSchema"
>> xmlns="http://www.mediawiki.org/xml/export-0.8/"
>> xpath-default-namespace="http://www.mediawiki.org/xml/export-0.8/"
>> exclude-result-prefixes="#all"
>> version="3.0">
>
> I think you must add
> <xsl:mode streamable="yes"/>
>

No, that's only needed if you're doing apply-templates, which this stylesheet
isn't.

Michael Kay
Saxonica

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.