Search code examples
xqueryexecutable-jarsaxon

Is there any way to aggregate xquery code to one file?


I seek for a way to aggregate some XQuery files to package file (like JAR file in java). I want to insert it to another project and use it as an external black-box code.

I'm using Saxon XQuery processor.

Thanks.


Solution

  • Saxon doesn't have this capability for XQuery. It does so only for XSLT. You can however include the source query modules in a JAR file and resolve their references to each other when compiling the query.