Re: [xslt] Cloning xsltStylesheet structures



Daniel Veillard wrote:

> On Fri, Dec 07, 2001 at 10:07:51AM +0100, Eric van der Vlist wrote:
> 
>>Daniel Veillard wrote:

>>How can we share a xsltStylesheetPtr if these are different?
>>
> 
>   Well ... if you think you understand the code better than me, I take
> patches :-)


Not really, that's why I mentioned that I was probably either not clear 
or missing something ;=) ...


>   The documents are the *stylesheet* documents. The variables are
> the global variables *declarations* not instances. 


I think I get it. Forgive me but I haven't been using C for 10 years and 
am rather biased by Java!

Do you mean that it's only when we call xsltApplyStylesheet that the 
instance is created from the information of xsltStylesheetPtr?

In this case, you are doing the equivalent of my clone in Java at this 
time and you've already implemented what I was asking for!


>   I may have missed something, in that case bug reports and patches are
> welcome.


It will probably take be some time to get at the stage where I can 
submit patches ;=) ... For bug reports, I have already submitted a 
couple but can't submit new ones untill I find actual bugs!


Thanks

Eric

> 
> Daniel
> 
> 



-- 
See you in Orlando for XML 2001.
                                     http://www.xmlconference.net/xmlusa/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------




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