[英]How to get Regexp from EXSLT working in libxslt?
Has anyone got Regexp
working in libxslt? 有没有人让Regexp
在libxslt工作? When yes, how? 什么时候,怎么样?
http://www.exslt.org/regexp/index.html http://www.exslt.org/regexp/index.html
When using the command xsltproc --dumpextensions
with the latest libxslt I'm not getting any Regexp support :-( 当使用命令xsltproc --dumpextensions
与最新的libxslt我没有得到任何正则表达式支持:-(
xsltproc includes {http://exslt.org/strings}replace already these days. xsltproc现在包括{http://exslt.org/strings}replace。 Bind some prefix to that namespace, eg string, and then call string:replace(). 将一些前缀绑定到该命名空间,例如string,然后调用string:replace()。
You can get the list of extensions compiled into the xsltproc program using the shell command: 您可以使用shell命令获取编译到xsltproc程序中的扩展列表:
xsltproc --dumpextensions
If your libxsltproc is from the same build it should have the same extensions, I think. 如果您的libxsltproc来自同一个构建版本,我认为它应该具有相同的扩展名。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.