OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Streaming XSL Stylesheets - Was: XML::Writer 0.1 available

[ Lists Home | Date Index | Thread Index ]
  • From: Kay Michael <Michael.Kay@icl.com>
  • To: "'Eric Prud'hommeaux'" <eric@w3.org>, Perl-XML Mailing List <perl-xml@listserv.activestate.com>, xml-dev <xml-dev@ic.ac.uk>
  • Date: Tue, 20 Apr 1999 15:33:04 +0100

> 
> On Mon, Apr 19, 1999 at 10:02:56PM -0400, David Megginson wrote:
> > XSL provides one good and very powerful model for doing XML
> > transformations, but that model itself requires that an entire
> > document be held in random-access storage of some sort (say, memory,
> > or a database) during processing, and that's inappropriate for the
> > very large subset of XML work that is both speed- and 
> memory-critical.
> 
> From: Eric Prud'hommeaux [mailto:eric@w3.org]>
> I'd love to differ with you here. In practice, I can't, but in
> theory... I have this itch to work out and implemnt an XSL parser that
> works as as a SAX stream. Given an XslStream that reads the parsed
> stylesheet from an XslDB and has an output SAX stream $this->{OUTPUT},
> the notion is something like this:

SAXON provides SerialStyleSheet, an implementation of a subset of XSL that
processes the source document serially using SAX, and doesn't create the
document in memory. You can do some quite useful transformations with it. In
particular, you can break a big document up into chunks that will fit in
memory more comfortably; you can also do document subsetting/pruning, and at
least as much styling as CSS allows.

The benefits are in memory use rather than speed, though I think it could be
speeded up considerably. Coming in the next version is an XSL compiler
(generates a Java application) which certainly helps with the speed factor.

(Java not Perl: sorry for intruding on a Perl discussion.)

Mike Kay

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS