Re: [xslt] Questions regarding writing XSLT extension functions



Le grande pinguin <rm@mh-freiburg.de>:
> i have two questions regarding XSLT extension functions:
> 
>  - the first parameter to 'xsltRegisterExtFunction()' - does
>    this mean that i need to provide an transformer context myself,
>    i.e. i can't use xsltApplyStylesheet()? 

Use xsltRegisterExtModuleFunction()

> BTW, i tried to use xsltRegisterExtModule() but this doesn't seem to work.

You don't need xsltRegisterExtModule() until you need to share data between 
several extensions (functions or elements) in the same module (same namespace 
URI) or need to do something before or after using an extension.

Tom.

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]