Re: [xslt] Thread Safety Changes
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] Thread Safety Changes
- Date: Thu, 30 Jan 2003 01:02:51 -0500
On Wed, Jan 29, 2003 at 09:11:12PM -0800, Peter Jones wrote:
> Hey, remember back when Daniel Veillard said:
> > Exactly ! Providing a patch would speed up the process ;-)
>
> I have attached the patch. Here is how you get thread safe StyleSheet
> processing:
>
> style = xsltNewStylesheet();
> xsltSetStylesheetErrorFunc(style, ctx, func);
> xsltProcessStylesheetFromDoc(style, doc);
> xsltFreeStylesheet(style);
>
> I did not know what to call the new function, so I just called it
> xsltProcessStylesheetFromDoc which you will probably change since you
> know the naming scheme better than I.
I don't see right now why a special xsltProcessStylesheetFromDoc()
is needed ....
> Let me know if anything is not right or needs to be changed.
I'm away until the week-end, I will look at this then.
thanks,
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]