Using regexp:match in xalan-j 2.5.2 (or in JDK 1.4.2)
"Karr, David" <[email protected]>
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
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?
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.
I suppose I could define a Java extension function that takes the same
parameters and returns a list of group values, except I'm not sure how
to deal with it returning a list of objects instead of a single string.