You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Vincent-Olivier Arsenault <vi...@neuro6.com> on 2000/08/03 18:33:16 UTC

Xalan (& Xerces) Server-Side Usage Patterns.

hey folks!


i'm studying xalan (1 for now) performances and have some questions.

i'm only using sax and i want to know if keeping a processor instance along
with the StylesheetRoot objects (for successive transformation using the
same stylesheet) is the only way to have SAX events as xslt input...


this.xsltProcessor.reset();
this.xsltProcessor.setStylesheet( stylesheet );
this.xsltProcessor.setDocumentHandler( dh );
this.xsltProcessor.reset();


my problem is that i'd like to use the StylesheetRoot directly since it's
thread safe but i couldn't find a way to have it behave as a
DocumentHandler...


if keeping a processor instance is the only way, is there a processor pool
utility that i can use?


and xerces question: is there a parser pool utility included in xerces?



thanks

vincent
ps: Scott i'm reading the "XSLT without DOM" thread and will come back with
concrete ideas soon (monday or tuesday...).