GNOME Bugzilla – Bug 58002
Pass transform context to applyStyleSheetInternal
Last modified: 2009-08-15 18:40:50 UTC
Thank-you for adding _private to the transform context. The main thing I'm interested in is allowing a transform context to be passed to xsltApplyStyleSheetInternal so that the _private member can actually be utilized. As it is now, the transform context is created inside xsltApplyStyleSheetInternal so that there is no opportunity for an application program to add information to the context prior to its being used. The mechanism I've been using is to pass an extra argument with an initialized context which will be used if it is not null in preference to a creating a new transform context. I will attach the file with the changes as a separate item.
Created attachment 790 [details] text file outlining changes
Applied except I preferred to export a new function rather than the Internal one: xmlDocPtr xsltApplyStylesheetUser(xsltStylesheetPtr style, xmlDocPtr doc, const char **params, const char *output, FILE * profile, xsltTransformContextPtr userCtxt) thanks a lot, Daniel
Should be part of 1.0.2 release, thanks Daniel