xquery

How to use the collection()-function with saxonche

How to use the collection()-function with saxonche Question: I am trying to use the collection()-function using the new saxonche-Python-Module (https://pypi.org/project/saxonche/). I would expect, that it returns all XML-documents inside the current directory. Instead it just returns None. My code looks like: from saxonche import PySaxonProcessor from os import getcwd with PySaxonProcessor(license=False) as proc: print(proc.version) xq …

Total answers: 2