This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Efficient Stylesheets for reordering


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]