[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Query string syntax


Subject: RE: [xsl] Query string syntax
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 2 Jan 2002 13:44:33 -0000

> I would like to select all names that have initials not seperated by
> a space. Such as:
>
> A.A. Peters
>

You mean, all strings containing a dot followed immediately by a capital
letter?

Then try:

  test="contains(translate($s, 'ABCDE...Z', 'A'), '.A')"

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread