This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Efficient Stylesheets for reordering
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Efficient Stylesheets for reordering
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Wed, 8 Nov 2000 11:12:08 -0000
- Reply-To: xsl-list at mulberrytech dot com
> Hi, I send this question originally to the XalanJ list, but I
> guess this is a more appropriate forum.
Not really. Any answers you get to this question will be entirely
processor-dependant.
> Is there some other way to write the template so that we can
> just stream out most of the work?
The procesing model for XSLT makes it very hard for a processor to avoid
building the entire source tree in memory.
>
> Are there any extensions that would allow discarding from
> memory those parts
> of the original document that are no longer needed?
Saxon has something called <saxon:preview>. It's not particularly useful for
this case, it's more designed for documents that have a million records
where the processing of each one is completely independent of the others: in
effect it allows you to do a million transformations on the subtrees, in
sequence.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list