Re: [xslt] DocLoader API Feedback



On Thu, Aug 19, 2004 at 04:08:26AM -0400, Daniel Veillard wrote:
> On Thu, Aug 19, 2004 at 12:38:51AM -0700, Dave Hyatt wrote:
> > Is the above legal in XSLT? If it is, should I be giving you the exact 
> > same xmlDocPtr both times?  If I am supposed to give you two different 
> 
> are cut off and merged in the main stylesheet. Do not use it as a cache,
> it cannot play that role. It will leak memory, crash and burn !

Note, if you want to cache, you should cache compiled stylesheets since
they are reusable even in parallel, or cache the file/resources content.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]