[lxml-dev] lxml extensions (fwd)
Stefan Behnel
stefan_ml at behnel.de
Mon Feb 19 20:58:04 CET 2007
Hi,
Dennis Allison wrote:
> It appears that the secret is to pass a dictionary of the form:
>
> { (ns, fname): func }
>
> to the XSLT object via the keyword parameter "extensions". Doing this I
> have a simple case working. I've been reading the code.
Ah, yes, that's the *old* *backwards-compatible* way of doing it, that's why
it's hidden from the docs. :)
>> <xsl:value-of select="nf:p()" />
My next guess then is that you forgot to declare the namespace prefix "nf" in
the XSLT script itself?
Stefan
More information about the lxml-dev
mailing list