How to use node-set function in a platform-independent way?

后端 未结 5 1858
谎友^
谎友^ 2020-12-02 01:49

I\'m writing some xlst file which I want to use under linux and Windows. In this file I use node-set function which declared in different namespaces for MSXML and xsltproc

5条回答
  •  长情又很酷
    2020-12-02 02:25

    Exslt is "supposed to be" a platform-independent set of xslt extensions, but only so far as various xslt processors choose to implement them.

    There's some evidence that MSXML actually does support exsl:node-set(), but I don't know for sure.

    There is an old article discussing an implementation of exslt on top of MSXML.

    Otherwise, I think function-available() is your friend :)

提交回复
热议问题