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

RE: how do java xsl processors handle xsl:import?

Subject: RE: how do java xsl processors handle xsl:import?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 1 Dec 2003 15:58:38 -0000
java xsl
In the case of template rules, Saxon makes no attempt to determine that
particular template rules can never be activated. In general this
requires analysis of patterns to establish whether one pattern subsumes
another. This is trivial of course for simple patterns such as
match="title", but in the general case it's rather difficult.

But this is besides the point anyway. If I were making a concerted
effort to reduce the memory size of the compiled Templates object, there
are probably other things I would do first.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Robert Koberg
> Sent: 01 December 2003 14:17
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  how do java xsl processors handle xsl:import?
> 
> 
> Hi,
> 
> How do xsl processors handle xsl:import with regard to (don't really 
> know how to say this) storing xsl:templates in a 
> javax.xml.transform.Templates object?
> 
> For sake of example, say I want to xsl:import files that contain 100 
> xsl:templates. The *importing* file overrides all 100 
> xsl:templates with 
> new ones. [I want to cache the javax.xml.transform.Templates 
> object in 
> memory for a webapp]. Will the Templates object contain 200 
> xsl:templates or does it discard the overriden ones?
> 
> thanks,
> -Rob
> 
> 
>  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-2013 All Rights Reserved.