Re: [xslt] Cloning xsltStylesheet structures
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] Cloning xsltStylesheet structures
- Date: Fri, 7 Dec 2001 04:18:41 -0500
On Fri, Dec 07, 2001 at 10:07:51AM +0100, Eric van der Vlist wrote:
> Daniel Veillard wrote:
>
>
> >
> > Actually, there is very little informations associated to running
> > transformation kept in the stylesheet itself. And those are cache informations
> > used to speed up some of the processing.
> > I would expect concurent transformations to be able to reuse the same
> > xsltStylesheetPtr for different processes.
>
>
> I am either not being clear or missing something (I have just looked at
> the definition of the "struct xsltStylesheet" [1]), but it includes
> elements such as the pointer on the source document and the list of
> variables and parameters which are dependent of the transformation which
> is being run even though the stylesheet may be the same.
>
> How can we share a xsltStylesheetPtr if these are different?
Well ... if you think you understand the code better than me, I take
patches :-)
The documents are the *stylesheet* documents. The variables are
the global variables *declarations* not instances.
I may have missed something, in that case bug reports and patches are
welcome.
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]