XSLT processor
Stefan Heimann
stefan.heimann at web.de
Sun Jul 21 06:23:34 EDT 2002
Henrik Motakef <henrik.motakef at web.de> wrote::
> thehaas at binary.net writes:
>
>> Stefan Heimann <stefan.heimann at web.de> wrote:
>> > Saxon - a XSLT processor written in Java - provides such an internal
>> > API. Does anyone know if there is something similar for python?
>>
>> I have no idea if the "pure-Python" XSLT processors (4xslt, etc.) have
>> that,
>
> 4XSLT has an API to write extension elements/functions. I can't find
> the documentation on the net right now, but my (oldish) installation
> came with the files 4XPath-Api.html and 4XSLT-Api.html in the doc/html
> directory that should help.
I know that. But extension elements/functions is not the thing I
need. I want to register my own function as a template. Instead of the
content of the <xsl:template> element being executed, the registered
function should be called.
Bye Stefan
More information about the Python-list
mailing list