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

RE: Max size?

Subject: RE: Max size?
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 9 Jan 2003 13:11:22 -0000
RE:  Max size?
> Edward.Middleton@xxxxxxxxxxx wrote:
> > Do you mean it creates a complete tree for the document before 
> > processing, or just a tree containing the currently 
> processed portion 
> > of the document?
> 
> It depends. AFAIK Saxon always produces a full in-memory 
> representation of the whole document. Xalan is capable of 
> "streaming processing". If told so it may hold only a portion 
> of the processed source in memory. With a generic 
> copy-through style sheet Xalan should be able to work on 
> input of arbitrary size.
> 
> J.Pietschmann

I can't speak with any authority about Xalan, but my understanding is
that it builds the tree concurrently with doing the transformation; by
the time you've finished, you will normally have the complete tree in
memory. This has benefits, but the memory you need still increases
linearly with document size.

The interesting challenge is to work out when you can discard parts of
the tree that won't be needed again. I think this could be done quite
easily for a small class of very simple stylesheets, but the general
problem is quite hard.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.