RE: String tokenizing in XSL
"Michael Kay" <[email protected]> Fri, 4 Apr 2008 22:15:34 +0800
| Newsgroups | gmane.org.w3c.xsl-editors |
|---|---|
| Message-ID | <028901c8965e$a0e789c0$e4f9a8c0@turtle> |
The xsl-editors list is provided for comments on the XSLT 1.0 and XPath 1.0
specification, not for getting coding advice. (And str:tokenize() isn't even
part of those specifications, it is a third-party extension.) You are better
off asking on the xsl-list at mulberrytech.com.
XPath 2.0 has a function tokenize() which would appear to meet your needs.
Michael Kay
http://www.saxonica.com/
>
> I am trying tokenize a string in XSL using str:tokenize. I
> want the delimiter to be taken as a combination of charactes.
> That is the tokenizing should occur only if combination of
> characters exist. (It should not tokenize if any of the
> characters in the delimiter is present individually)
>
> For egs:
>
> When I use str:tokenize('A%^B~^C%^D~^','~^') , I should get
> the output as A%^B and C%^D.
>
> Is it possible with str:tokenize? IF not is there any other
> function to do this.
>
> Thanks in advance..
> priby
> --
> View this message in context:
> http://www.nabble.com/String-tokenizing-in-XSL-tp16489194p1648
> 9194.html
> Sent from the w3.org - xsl-editors mailing list archive at Nabble.com.
>
>
>