error when calling exslt in Saxon

对着背影说爱祢 提交于 2019-12-13 00:09:28

问题


I get the error message:

"Cannot find a matching 1-argument function named {http://exslt.org/common}node-set()"

when running a xslt transformation with the Saxon engine.

I've tried using Saxon PE and EE on Windows XP and it gives the same error. EXSLT should work out of the box with Saxon. Does anyone have a solution on how I may resolve this, please?


回答1:


Saxon PE and EE are XSLT 2.0 processor implementations where you don't need a node-set extension function as in XSLT 2.0 the difference between result tree fragments and node-sets does no longer exists. So you should be able to simply use e.g. $var/foo/bar instead of exsl:node-set($var)/foo/bar in your stylesheets where you process variables.



来源:https://stackoverflow.com/questions/5027232/error-when-calling-exslt-in-saxon

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!