hi mr jorgensen,        
        don't think it will help much, since i probably will have different
xml documents in different requests....and the chance that i have exactly
the same xml structure is almost 1 out of 10000.
so far, reusing hte same DOMImpl class is fine (at least, i have tried with
two
different files with different structure and lenght)....
i may need if you know at htis stage if there will be any improvement..such
as
using a SAXParser (don't think will work...but it's just for saying)...
or further development

Scott Boag once replied to one of my msg by saying that the plan is to
integrate
xALAN iwht XSLTC....but i may need additional info..if someone can provide
me

thanx in advance and regards
        marco

> -----Original Message-----
> From: ext Morten Jorgensen [mailto:[EMAIL PROTECTED]]
> Sent: 06. June 2001 15:42
> To: [EMAIL PROTECTED]
> Subject: Re: XSLTC DOMImpl class
> 
> 
> Marco,
> 
> It is of course possible to add a clearDOM() method to the DOMImpl
> class, but I doubt that it would help you much. The DOM takes long
> to build because the input document has to be parsed and because
> the DOMImpl$DOMBuilder inner class to populate the DOMImpl. The
> time spent instanciating the DOMImpl class is minute in comparison.
> I would rather focus on DOM caching (if feasible) and try to come
> up with a decent implementation of the DOMCache interface. Sun's
> alpha5 release and the latest Xalan release both contain a sample
> implementation (dom/DocumentCache) of the DOMCache interface, but
> it is not very flexible or efficient.
> 
> Morten
> 
> 
> [EMAIL PROTECTED] wrote:
> > 
> > hi all,
> >         is it possible to add a method  'clearDOM()' (if 
> someone hasn't
> > already done it) so that the DOMImpl class
> > can be reused all the time??
> > 
> > thanx in advanc and regards
> >         marco
> 

Reply via email to