Hi, Is the transformation context intended for reuse with different stylesheets? I just wonder, since the context to use for a transformation can be created and specified on the user's side. With xsltApplyStylesheetUser() one can specify the transformation context to be used. With xsltNewTransformContext() a context can be created. But since xsltNewTransformContext(xsltStylesheetPtr style, xmlDocPtr doc) takes a specific @style (crashes if @style is NULL) this looks more like the mechanism is only intended for one specific stylesheet; so just to have a way of accessing the transformation context before the transformation. But _not_ intended for reuse with other stylesheets. Is this observation correct? If not (if the context _is_ intended for resue), then there should be some problems with the string dict, since a reference is set in xsltNewTransformContext() to the stylesheet's dict and only released when the transformation context is freed.
However, it seems that the transformation context can be reused for multiple transformations with different source docs, right? Regards, Kasimier _______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ [email protected] http://mail.gnome.org/mailman/listinfo/xslt
