Re: [xml] XSLT stylesheet parameters

Nic James Ferrier <nferrier tapsellferrier co uk> writes:

I've got some python like this:

    xslt_params = { "editable": "yes" }
    doc = libxml2.parseDoc(html)
    result = None
        result = ss.applyStylesheet(doc, xslt_params)
        http_output = ss.saveResultToString(result)
        # Send the document to Django's http object
        print >>http, http_output
        return http
        if result:


I found it.

I am a dumbass.

It should have been:

     xslt_params = { "editable": "'yes'" }

Nic Ferrier   

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