Project

Profile

Help

Bug #5849 » try_saxonche_simple.py

Daniel Haley, 2023-01-23 18:44

 
from saxonche import *


def run():
with PySaxonProcessor(license=False) as proc:
print(f"Processor version: {proc.version}")
xsltproc = proc.new_xslt30_processor()
xsltproc.transform_to_file(source_file=r"try_saxon_input.xml",
stylesheet_file=r"simple.xsl",
output_file=r"simple_output.xml")


for x in range(0, 3):
run()
(3-3/3)