error when calling exslt in Saxon

2019-08-10 22:07发布

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?

标签: xslt saxon exslt
1条回答
祖国的老花朵
2楼-- · 2019-08-10 22:25

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.

查看更多
登录 后发表回答