Re: [xslt] "re-use" LibXSLT compiled stylesheet collection



On Thu, Jan 23, 2003 at 12:52:25PM +0100, Johann Richard wrote:
> Hi all,
> 
> I was browsing on the LiBXSLT site but couldn't find a satisfactory answer to this question:
> 
> Is it -- somehow -- possible to "re-use" a stylesheet that has been read, parsed and compiled by LiBXSLT? Ideally, for large collections of stylesheets (like DocBook) that do not change that often, it would be desirable to skip the step of compilation, i.e. write out the compiled collection in a persistent way to disk or so, and read it back later when you want to re-use the collection. From what I read about how variables and parameters are handled internally, this should be possible w/ LibXSLT.

  preparsed stylesheet in memory are reusable for multiple (and even parallel)
transformations of course. But there is no way to save that "preparsed" state
to stable storage, IMHO it's too complex, not standard and there is little gain
to attain by doing so.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.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]