[XML-SIG] using xslt with python
Brian Quinlan
brian at sweetapp.com
Thu Jun 12 16:35:59 EDT 2003
> This only works on unix, and it only works if the user has xsltproc. I
> want to make the script useable for different platforms, and ideally
for
> different xslt processors. For example, if the user wants to use
xalan,
> then the script uses xalan to process the document.
You can use Pyana to do Xalan transformations from Python:
http://pyana.sourceforge.net/
import Pyana
s = Pyana.transformToFile(
Pyana.URI(file),
Pyana.URI(xsl_file),
output)
Cheers,
Brian
More information about the XML-SIG
mailing list