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

Caching of XSL under Tomcat

Subject: Caching of XSL under Tomcat
From: "Lensch, Thomas" <Lensch@xxxxxxxx>
Date: Wed, 12 Oct 2005 09:48:19 +0200
tomcat caching
Hi,

i use xalan 2.6.0 in a Tomcat environment.

To display data in html i use an xsl, say a.xsl. a.xsl includes b.xsl to
use it's templates. b.xsl has many templates e.g. xy. this template
which isn't used in a.xsl. xy is located in c.xsl.

So, running a.xsl must have access to xy in c.xsl. Where should i
include it? In a.xsl or in b.xsl? Including it in b.xsl has the
following consequence: when i have some other template (say d.xsl) using
directly some templates of c.xsl which must be included in d.xsl. So,
when d.xsl uses b.xsl, i get two includes of c.xsl producing an error.
Should i use import instead of include?

This problem seems to be very simple, but i have many templates,
including some other templates. I have some sort of hierarchy - primitiv
templates to complex templates generating complete HTML pages. So the
above mentioned problem arises often.

Furthermore it seems to me that Tomcat or xalan uses some sort of
caching of xsl. Before i was using xalan 2.3.1 - an this problem never
arised. Now using 2.6.0 causes this problem. Did they change something
in this context?

Best regards
Thomas.

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.