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

RE: Optimal configuration of the XSLT processor

Subject: RE: Optimal configuration of the XSLT processor
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 5 Mar 2001 13:42:40 -0000
xsl single threaded
In Saxon the most efficient approach here is to pre-build any source
document that will be used as input to multiple transformations as a Saxon
DocumentImpl object (or TinyDocumentImpl). It doesn't matter which of the
three documents is the primary source and which are supplied as parameters.

Mike Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Shakeel
> Mahate
> Sent: 15 February 2001 00:07
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Optimal configuration of the XSLT processor
>
>
> I need suggestions on optimal configuration of the XSLT processor for
> my Java servlet web application.
>
> My transformation consists of the following components:
>
> "generic.xsl"
>    One stylesheet for the complete application
>
> "layout.xml"
>    Users will write a configuration file in XML. It contains the XML
> tags representing the various HTML controls.  The XML tags will have
> the corresponding templates in the generic.xsl stylesheet
>
> "container.xml"
>    Container will represent the data which will be populated in the
> HTML forms.  In reality this is not a document, rather an
> in-memory DOM
>
> "i18n.xml"
>    This XML document represents the labels specific to a locale.
>
> Now I have three inputs, one stylesheet.  Not all the inputs
> are files.
>
> My question is, how should I configure my Xalan 2.0.0 or Saxon XSLT in
> my servlet.
>
> I know I can precompile my static stylesheet, since it is static.
>
> Which of the others can I make a source and which of them can be
> parameters?
>
> Can in-memory DOM object become a parameter?
>
> Should DOM "container.xml" be a source?
>
> I will have one instance of the XSLT processor which I will
> clone everytime
> I have to transform the input, rather than create an instance
> for every
> request.  This is a requirement since it XSLT processor are
> single threaded
>
> Can you critic my architecture, provide suggestions.
>
> -Shakeel Mahate
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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-2011 All Rights Reserved.