Using non-core EXSLT date functions with Xalan Java

前端 未结 2 1660
感情败类
感情败类 2021-01-28 17:07

I have had EXSLT\'s core date functions working well in some XSL templates I\'ve been using for years. I\'d like to start using a new one: seconds. This function is

2条回答
  •  耶瑟儿~
    2021-01-28 18:06

    First, have a look at: http://www.exslt.org/howto.html#other-implementations However, AFAIK Xalan does not support the func:script extension element (at least it says it doesn't, which is not always the same). OTOH, Xalan has its own extension mechanism - see: http://xml.apache.org/xalan-j/extensions.html

    If it were me, I would simply use a named template instead.

提交回复
热议问题