cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
Subject Re: [C2] XT transformer
Date Wed, 30 Aug 2000 16:09:38 GMT
Hi,

Apparently your attachment has size 0, could you repost it?

Thanks,
Ovidiu

On Wed, 30 Aug 2000 15:34:05 GMT, Sebastien Sahuc <ssahuc@imediation.com> 
wrote:

> As Giacomo suggested so well :-) attached you'll find the=20
> XTTransformer.java
> 
> The lib used is the latest one from James Clark site :
> http://www.jclark.com/xml/xt.html
> 
> the distrib is available directly at :
> ftp://ftp.jclark.com/pub/xml/xt.zip
> 
> The XTTransformer make use of the "store" component to cache the=20
> StyleSheet. And the code is mainly a copy/paste from two classes defined=
> =20
> in XT (XSLProcessorImpl and XMLProcessorImpl) package since they cannot =
> 
> be extended because of private fields (Eric van der Vlist helped me in=20
> this task).
> 
> Xt needs a SAX 1 parser, so I use JAXP classes (SAXParserFactory,=20
> SAXParser classes) to get one.
> 
> You can notice a improvement in term of performance when compared to the=
> =20
> current XalanFilter simply because Xalanfilter doesn't yet cache the=20
> StyleSheet, thus reparsing the whole XSL file at every hit.




Mime
View raw message