Okai, sorry if my question was stupid ... but I am using XalanCAPI to
write an ApacheXSLTModule of my own and I like to install external
function of Xalan extension librairies ( external:FunctionDistinct() ),
or in the future ( in I find a new idea you don't already implement )
build my own extension.

So did I miss something, I'm not an expert in relation between c and
c++, but what do you think is the best:
     - extend the xalanCAPI
     - use c++ and XalanTransformer to write my module with something
like : http://wolfgang.groogroo.com/apache-cplusplus/
     - another solution?

If you find my question really out of Xalan topic, I apologize.

Still many thanks.

Olivier

le mer 06-03-2002 � 00:51, David N Bertoni/Cambridge/IBM a �crit :
> 
> The reason there's no way to install an external function in the C API is
> that we assume you're using the C language.  Thus, there would be no way
> for you to write an extension function, since that requires using C++.  If
> you look at the APIs, you will see that there is no use of classes, or any
> other C++ language features.
> 
> If you're using C++, you might want to just use the XalanTransformer class.
> That's a bit more efficient than the C API, and much more flexible.
> 
> Dave
> 
> 


Reply via email to