An XSLT is created dynamically in ModuleRoot/X/Y/Z/A.xqy and executed
using xdmp:xslt-eval(). A.xqy imports B.xqm (using xdmp:import-module) and
C.xsl, both using relative paths. B.xqm resolves to ModuleRoot/B.xqm, but
C.xsl resolves ModuleRoot/X/Y/Z/C.xsl. If an XSLT file is created and
executed using xdmp:xslt-invoke(), B.xqm resolves to
ModuleRoot/X/Y/Z/B.xqm.

I suspect this is a bug, since I would expect paths to resolve relative to
the path executing the XSLT, whether the XSLT is executed with
xslt-invoke() or xslt-eval(). But I thought there was a chance I don't
understand something about xdmp:import-module...

-Will

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to