Re: [xslt] Questions regarding writing XSLT extension functions
- From: rm mh-freiburg de (Le grande pinguin)
- To: xslt gnome org
- Subject: Re: [xslt] Questions regarding writing XSLT extension functions
- Date: Tue, 11 Jun 2002 13:52:55 +0200
On Tue, Jun 11, 2002 at 11:16:54AM +0100, Thomas Broyer wrote:
> Le grande pinguin <firstname.lastname@example.org>:
> > 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.
Thank's for the pointer (should've been able to figure this out myself -- to much
admin stuff starts to get distracting ;-) Yes, at some point i think i really need
the module functionality (sharing resources in an Apache environment).
> This mail sent through IMP: http://horde.org/imp/
> xslt mailing list, project page http://xmlsoft.org/XSLT/
] [Thread Prev