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

Re: XT as servlet

Subject: Re: XT as servlet
From: Paul Tchistopolskii <paul@xxxxxxx>
Date: Thu, 17 Feb 2000 17:31:55 -0800
servlet progress bar
> I suppose that the source code could be rewritten to pull 
> off a reference to the XSL file, e.g., from a query parameter, 
> and then dynamically instantiate a processor for that spreadsheet. 

( or clone the stylesheet from cached copy, because compilation 
of the stylesheet is expensive operation ).

> If performance or startup overhead is a factor, then I suppose one could 
> even set up a caching facility to cache multiple stylesheet processors 
> and clone as needed.

I guess ... "as needed"  is "if stylesheet file has been changed on disk - 
it is time to reload the stylesheet, if not - use the cached  copy" ?

If yes - PXSLServlet ( being invoked in 'simple' mode) 
implements *exactly*  this scenario.

When invoked in 'advanced' mode
it grabs the source XML file from SQL 
database instead of text file, but that's 
another story.

The source code is available at  www.pault.com/Pxsl/

It is work in progress, but mostly that progress 
happens in SQL part.

I'l not provide too much support for version 0.2, but will 
start providing support  for version 0.3 ( on the way ).

However,  if one is able to read 2 small and clear java files - 
the version 0.2 already has all the source code needed to suport  
the scenario you have described above.

Rgds.Paul.
 


 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.