Project

Profile

Help

Question on apply_templates_returning_file » apply_templates_returning_string_test1.py

Martin Honnen, 2019-10-31 12:23

 
import saxonc

with saxonc.PySaxonProcessor() as proc:
print(proc.version)

xslt30_processor = proc.new_xslt30_processor()

result = xslt30_processor.apply_templates_returning_string(source_file = "input-sample1.xml", stylesheet_file = "identity.xsl")

print(result)
(2-2/4)