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

Re: progressive translation

Subject: Re: progressive translation
From: James Clark <jjc@xxxxxxxxxx>
Date: Sun, 26 Apr 1998 12:04:49 +0700
translation rule requires
Kent Fitch wrote:
 
> 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.

This need not be the case as jade -t sgml demonstrates.

The way I do this is to have two threads, one which builds the tree and
one which does the translation process.  If some invocation of a
translation rule requires access to part of the tree which is not yet
built, then the translation thread will block until the building thread
has built that part of the tree.

James



 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.