[lxml-dev] XSLT parameter ignored?

Jeroen van Holst jeroen at xos.nl
Fri Apr 20 13:32:56 CEST 2007


Hello,

I'm trying to pass a parameter to an XSLT object as follows:

    xslt = etree.parse(stylesheet)
    style = etree.XSLT(xslt)
    params = {'profile.lang': 'en'}
    result = style(doc, params)

The stylesheet is applied, but the parameter is ignored. This works in 
libxslt, so what am I missing?

TIA,
Jeroen

-- 
--    Jeroen van Holst <jeroen at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204



More information about the lxml-dev mailing list