> 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