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

progressive translation

Subject: progressive translation
From: "Kent Fitch" <kent.fitch@xxxxxxxxxxxx>
Date: Sun, 26 Apr 1998 12:23:44 +1000
progressive translation
As I understand it, the general XSL translation
process cannot emit anything until the entire
incoming XML document has been parsed because the 
translation rules can potentially require access
to the full parse tree.

However, there will be some applications where 
"chunks" of incoming XML can be processed in 
relative isolation.

The potential benefit is to improve response time
when a user is wanting to view what is being 
translated - they can see the start of the document
before all of it  has been translated.  In cases 
where the whole XML input stream can take some time
to generate, or is large (eg, is being progressively
generated by scanning a large data warehouse), this
improvement could be considerable.  As well, it gives
the user the chance to abort the process if what they
are looking at isn't what they wanted, potentially
saving resources and their time.

One way we can achieve this now is to generate the 
start of the outer container "manually" 
(eg, for HTML:  <HTML><TITLE>...</TITLE><BODY>),
then process and emit the chunks progressively,
end then generate the end of the outer container
manually.

Are there better ways in existence or planned?

Kent Fitch                           Ph: +61 2 6276 6711
ITS  CSIRO  Canberra  Australia      kent.fitch@xxxxxxxxxxxx



 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.