Re: Using regexp:match in xalan-j 2.5.2 (or in JDK 1.4.2)
Uche Ogbuji <[email protected]>
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Organization | Fourthought, Inc. |
| Message-ID | <1130991064.24249.38.camel@borgia> |
On Tue, 2005-11-01 at 11:38 -0800, Karr, David wrote:
> I'm just starting to explore EXSLT (and I'm not that XSLT-experienced,
> either).
>
> It appears from what I see on the EXSLT web site that, for example, the
> "regexp:match" function (not a template?) is not supported in Xalan-J
> 2.5.2, or even in the Xalan-J embedded in JDK 1.4.2. Am I understanding
> that correctly?
It's possible that information is out of date. I would double-check
with the Xalan maintainers.
> I'm looking for practical strategies for parsing various strings, like
> "address" and "name", to break them up into their constituent parts
> ("city", "lastname", etc.). The regexp:match function looks like it
> would have been useful, but it appears I can't use it directly.
Depending on what your delimiters are, you could try string:tokenize.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://fourthought.com
http://copia.ogbuji.net http://4Suite.org
Articles: http://uche.ogbuji.net/tech/publications/