Nic James Ferrier <[EMAIL PROTECTED]> writes:
> I've got some python like this:
>
>
> xslt_params = { "editable": "yes" }
> doc = libxml2.parseDoc(html)
> result = None
> try:
> 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
> finally:
> if result:
Ooops!
I found it.
I am a dumbass.
It should have been:
xslt_params = { "editable": "'yes'" }
--
Nic Ferrier
http://www.tapsellferrier.co.uk
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml