This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Query string syntax
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 2 Jan 2002 13:44:33 -0000
- Subject: RE: [xsl] Query string syntax
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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