|
Subject: Re: [xsl] is it possible xpath expression [A-Z]? From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx> Date: Fri, 27 Nov 2009 13:47:04 +0100 |
The pattern for correctly written roman numerals is
^M*(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$
To stop at 50, use
^(XL|L?X{0,3})(IX|IV|V?I{0,3})$
-W
On Fri, Nov 27, 2009 at 1:30 PM, Martin Honnen <Martin.Honnen@xxxxxx> wrote:
> ivanmacculi@xxxxxxxxx wrote:
>
>> in particular i need to select all of elements that have, as attribute, a
>> word (canto) followed by a roman number that starts from I (one) and
>> finished to L (fifty).
>> for example <mets:div LABEL="Canto XL">, but also <mets:div LABEL="Canto
>> X">.
>
> See the answer by Michael M|ller-Hillebrand.
>
> --
>
> Martin Honnen
> http://msmvps.com/blogs/martin_honnen/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] is it possible xpath expr, Martin Honnen | Thread | RE: [xsl] is it possible xpath expr, Michael Kay |
| Re: [xsl] good reference for XSLT 2, Martin Honnen | Date | [xsl] how to change the values of , ivanmacculi\@libero\ |
| Month |