Trying to call XSLT from XQuery, getting error XPST0017
Added by Michael Ramirez over 11 years ago
Hi,
I'm using Saxon PE 9.4.0.7 and calling an XQuery transform from a Java process. All works well until I try to use saxon:transform() to invoke an external XSLT, when I get the following error message:
@XPST0017: Cannot find a matching 2-argument function named {http://saxon.sf.net/}transform()@
All I'm doing is loading an XSLT using saxon:compile-stylesheet() and then following up with a saxon:transform().
My extensive googling of the issue seems to imply that I don't have the right version of Saxon loaded, but I've tried both the PE and EE version of 9.4.0.6 and 9.4.0.7. I'm confident that my transform is correct since I have no problem when using Oxygen and the Saxon PE 9.4.0.6 engine.
Any ideas on what I might be doing wrong?
Thanks, Michael
Replies (1)
RE: Trying to call XSLT from XQuery, getting error XPST0017 - Added by Michael Ramirez over 11 years ago
Nevermind- I realized after attempting it from the command line that I hadn't loaded a license, which rendered that feature disabled. Confusing, but it works now with a trial license.
-Michael
Please register to reply