cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fabrizio picca <fabrizio.pi...@gmail.com>
Subject Re: newbie question: xsl tokenizer
Date Sun, 21 Nov 2004 20:48:40 GMT
i've noticed that googling around...now i'm trying something like this:

in the declaration space i've added
xmlns:str="http://xslt.org/strings" extension-element-prefixes="str"

in my code i've something like this:
<xsl:text>@<xsl:value-of select="str:tokenize(string($uri),'/')"/></xsl:text>
where $uri is a request-parameter.


but it actually seems not working...




On Sun, 21 Nov 2004 21:37:38 +0100, J.Pietschmann <j3322ptm@yahoo.de> wrote:
> Colin Paul Adams wrote:
> >>>>>>"fabrizio" == fabrizio picca <fabrizio.picca@gmail.com>
writes:
> >
> >
> >     fabrizio> is there a way to get something similar the java string
> >     fabrizio> tokenizer in xsl processing?
> >
> > XPath 2.0 tokenize() function.
> > Available if you use Saxon 8 as your XSLT transformer.
> 
> The EXSLT tokenize() function should be available if a reasonably
> recent Xalan is used for XSLT (including the Xalans which are part of
> JDK 1.4.2_x). See
>   http://www.exslt.org
> and the Xalan extensions page for details.
> 
> J.Pietschmann
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 


-- 
copyright - fabpicca

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message