[Yanel-dev] str:replace()

Cedric Staub cs.staub at cssx.ch
Mon Mar 28 17:25:22 CEST 2011


On Mon, Mar 28, 2011 at 10:44:42AM +0200, Balz Schreier wrote:
> how can I find out what exslt library is used by Yanel?
> 
> I wanted to use
> 
>    xmlns:str="http://exslt.org/strings"
> 
> , specifically the function str:replace(),
> 
> but it seems it does not exist in the version that is included in Yanel?

Last time I checked Yanel used Xalan 2.7 which should support the string
extensions in eXSLT. Did you also set extension-element-prefixes?

For example:
  <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:str="http://exslt.org/strings"
    extension-element-prefixes="str">

There's also a pure XSLT implementation at
http://www.exslt.org/str/index.html

See also Xalan's homepage on eXSLT
https://xml.apache.org/xalan-j/extensionslib.html#exslt

Cheers
Cedric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110328/e6e55daa/attachment.pgp>


More information about the Yanel-development mailing list