lxml and adding a stylesheet

Sean Davis seandavi at gmail.com
Tue Sep 23 11:39:45 EDT 2008


I have an xml document and simply need to add an xml-stylesheet to
it.  I am using lxml to parse the xml document and then would like to
insert the xml-stylesheet tag using the etree api.  Any suggestions?

Thanks,
Sean



More information about the Python-list mailing list