Project

Profile

Help

Bug #5938 » saxon-compile-xslt-with-prot-restr1.py

Martin Honnen, 2023-03-24 11:10

 
from saxonche import *

with PySaxonProcessor(license=False) as proc:
print(proc.version)

proc.set_configuration_property('http://saxon.sf.net/feature/allowedProtocols', 'http,https')

xslt30_processor = proc.new_xslt30_processor()

xslt30_executable = xslt30_processor.compile_stylesheet(stylesheet_file='identity1.xsl')

print(xslt30_executable)
(1-1/2)