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

xslt and sax

Subject: xslt and sax
From: "Mark D. Anderson" <mda@xxxxxxxxxxxxxx>
Date: Sun, 19 Sep 1999 09:48:42 -0700
xslt with sax
i think i might have asked this question before, but didn't
get any takers.

this time i'm a bit clearer i hope:

- it appears that all the xslt processors out there want to have
a DOM object for both the document and the stylesheet. (right?).

- there are DOM implementations that will sit on top of SAX, but
they still take the approach of [expletive deleted] in the whole document in
one go -- the DOM client (the xslt processor) won't do anything
til the whole thing is read in. (right?).

- an xslt stylesheet does have to be read in its entirety before
any processing can be done (a new template might show up, etc.).
in general, the document might have to be read entirely as well
(processing of the first element might be conditional on the existence
of some element that only shows up at the end). Not only that,
but arbitrary look-back might also be necessary (say, if there are
two "for-each" clauses over the same tree). (right?).

- however, it should be possible to engineer a combination of an
xslt processor and DOM implementation that can start processing
document instances before they have entirely been read in.
it would just stall if there were a test or select requiring
looking forward -- but would not stall if there were no such tests.
The system could also be configured to cache already-read nodes or not,
dependent on whether look-back is necessary. (right?).

The primary goal here is to allow greater concurrency in a processing
pipeline, so that transformation can commence before results are
completed. A secondary (but distinct) goal is to allow xslt processing
without ever having to hold the entire document instance in memory,
at least for some stylesheets. But right now I'm more worried about
latency than RAM.

Thanks....

-mda


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


Current Thread
  • xslt and sax
    • Mark D. Anderson - Sun, 19 Sep 1999 09:48:42 -0700 <=
      • zun - Sun, 19 Sep 1999 17:05:16 -0400 (EWT)
      • Jon Smirl - Sun, 19 Sep 1999 17:33:22 -0400
      • <Possible follow-ups>
      • Kay Michael - Mon, 20 Sep 1999 12:48:27 +0100
      • Kay Michael - Mon, 20 Sep 1999 12:52:39 +0100

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.