[Home] [By Thread] [By Date] [Recent Entries]
Hi Folks, Here is an example of a valid middle initial: <MI>H.</MI> I need an XPath expression to check that the value of <MI> is an uppercase letter of the English alphabet followed by a period symbol, and nothing else. This XPath expression seems to work fine: ((matches(MI, '[A-Z]\.')) and (string-length(MI) eq 2)) I am wondering if there is a better (simpler, shorter, more robust) XPath expression? /Roger
|

Cart



