> Yes, there where example how to register external function to
> /XalanTransformer object/ and /only/ then use it. Other way when I use
> SAX and XPathEvaluator, work with my own tags that represent C++
> classes. So I'd like to have some special functions like timestamp(),
> ctime() and so on. Can I add permanently or register in other way some
> external functions to use 'em with XPathEvaluator object, may be I can
> organise'em in special lib?
>     Thanks
>     Akim

There is no way to add them "permanently," because any function objects
will be destroyed when the process ends.  You can, however, add them for
the life of the process and make them globally available.  See
XPathEnvSupportDefault::installExternalFunctionGlobal() for more
information.  Xalan 1.7 will have an explicit call on XPathEvaluator to add
local function definitions.

Dave

Reply via email to