XLM and XSLT

Olivier Hoarau olivier.hoarau at mortauxspams.bz
Thu Nov 13 11:25:05 EST 2003


Hello,

I would like to create a file from a xml file with a xslt transformation
in a python program.
Is there someone who can give me some examples to do that ? something
like this

import libxslt
import libxml2

xsl=parseStylesheetFile(xsl file)
xml=parseFile(xml file)
result = applyStylesheet(xls,xml)
saveResultToFilename(result,outfile)


Olivier




More information about the Python-list mailing list