Warm tip: This article is reproduced from serverfault.com, please click

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

发布于 2020-12-04 11:32:06

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.

Questioner
YanBir
Viewed
0
Michael Kay 2020-12-04 23:59:29

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.