开发者

How to get Regexp from EXSLT working in libxslt?

开发者 https://www.devze.com 2023-03-25 06:14 出处:网络
Has anyone got Regexp working in libxslt? When yes, how? http://www.exslt.org/regexp/index.html Whe开发者_高级运维n using the command xsltproc --dumpextensions with the latest libxslt I\'m not getti

Has anyone got Regexp working in libxslt? When yes, how?

http://www.exslt.org/regexp/index.html

Whe开发者_高级运维n using the command xsltproc --dumpextensions with the latest libxslt I'm not getting any Regexp support :-(


xsltproc includes {http://exslt.org/strings}replace already these days. Bind some prefix to that namespace, e.g. string, and then call string:replace().

You can get the list of extensions compiled into the xsltproc program using the shell command:

xsltproc --dumpextensions

If your libxsltproc is from the same build it should have the same extensions, I think.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号