Re: [xsl] XPath to test that a middle name consists of a letter followed by a period and nothing else ?

Subject: Re: [xsl] XPath to test that a middle name consists of a letter followed by a period and nothing else ?
From: "Liam R. E. Quin liam@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 2 Jun 2016 13:35:27 -0000
On Thu, 2016-06-02 at 11:39 +0000, Costello, Roger L.
costello@xxxxxxxxx wrote:
> Hi Folks,
> 
> Here is an example of a valid middle initial:
> 
> 	<MI>H.</MI>

Others have comented on the expression. I'll note that as someone with
two middle initials I've more than once had problems doing business in
the USA - with large companies. One US bank that I use requires one
middle initial and that my home bank account be in exactly the same
name in order to be able to transfer money, so I ended up changing my
home bacnk account to have an "alias" in the end.

Hence, allow zero or more middle initial elements.

But you know, you should trust people to enter their names. They know
the rules for them better than you do, even if you don't want to do
business with e.e. cummings or people from countries where lower case
or an apostrophe or an accented character might start a name.

Liam


-- 
Liam R. E. Quin <liam@xxxxxx>
The World Wide Web Consortium (W3C)

Current Thread