|
Subject: RE: [xsl] How to call extension function from xpath multiple times? From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 4 Jan 2005 12:43:38 -0000 |
> pattern = pattern.replaceAll("_asterix_", "\\\\w*");
> pattern = pattern.replaceAll("_qstnmark_", "\\\\w");
>
> return java.util.regex.Pattern.matches(pattern,
> elemName);
You are generating a regular expression that will contain "\\w". This will
match a string containing a "\" followed by a "w". But you are using it to
match element names, which never contain a "\".
Michael Kay
http://www.saxonica.com/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| FW: [xsl] How to call extension fun, Manpreet Singh | Thread | RE: [xsl] How to call extension fun, Manpreet Singh |
| RE: [xsl] How to call extension fun, Michael Kay | Date | [xsl] How to retrieve value(which i, Ranjan K. Baisak |
| Month |