xsl-list
[Top] [All Lists]

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

2016-06-02 07:07:53
linguistic comment: Dutch convention to abbreviate names Theun and Christiaan as Th. and Chr. respectively. Your rigidity could flag 'Th.' as incorrect where it is not.

On 02/06/2016 13:41, Imsieke, Gerrit, le-tex 
gerrit(_dot_)imsieke(_at_)le-tex(_dot_)de wrote:


On 02.06.2016 13:38, Costello, Roger L. costello(_at_)mitre(_dot_)org wrote:
    ((matches(MI, '[A-Z]\.')) and (string-length(MI) eq 2))

matches(MI, '^[A-Z]\.$')


--
Pieter Lamers
John Benjamins Publishing Company
Postal Address: P.O. Box 36224, 1020 ME AMSTERDAM, The Netherlands
Visiting Address: Klaprozenweg 75G, 1033 NN AMSTERDAM, The Netherlands
Warehouse: Kelvinstraat 11-13, 1446 TK PURMEREND, The Netherlands
tel: +31 20 630 4747
fax: +31 20 673 9773
web: www.benjamins.com
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>