Project

Profile

Help

Question on apply_templates_returning_file » apply_templates_returning_file_test1.py

Martin Honnen, 2019-10-31 12:23

 
1
import saxonc
2

    
3
with saxonc.PySaxonProcessor() as proc:
4
    print(proc.version)
5

    
6
    xslt30_processor = proc.new_xslt30_processor()
7

    
8
    xslt30_processor.apply_templates_returning_file(source_file = "input-sample1.xml", stylesheet_file = "identity.xsl", output_file = "output_file_test1.xml")
(1-1/4)