hi all,
I was disapointed to see that there was not way to Install an external
function with XalanCAPI. So I try to add the "wrapper" in the header
file and implementation
## XalanTransformer/XalanCAPI.h
XALAN_TRANSFORMER_EXPORT_FUNCTION(void)
XalanInstallExternalFunction(XalanHandle theXalanHandle, const
char*, const char *, const Function& );
## XalanTransformer/XalanCAPI.cpp
XALAN_TRANSFORMER_EXPORT_FUNCTION(void)
XalanInstallExternalFunction(XalanHandle theXalanHandle, const char
*theNameSpace, const char *theFunctionName, const Function& theFunction
)
{
getTransformer(theXalanHandle)->installExternalFunction(
XalanDOMString(theNameSpace), XalanDOMString( theFunctionName ),
theFunction );
}
##
And now it works in my apache xslt module. So I was wondering was this
function was not in XalanCAPI ( idem for uninstall ).
Sorry for my bad english, many thanks for xalan.