[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Literal string question

Subject: Literal string question
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Fri, 28 Dec 2001 11:13:50 -0800 (PST)
xsl literal string
Friends,
I have a question.

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

A.A. Peters

Could someone give me the syntax for searching for such a string?

The section from my stylesheet I include below.

Thanks,
Mike F.

<xsl:variable name="qq">???</xsl:variable>

<xsl:for-each select="//C02//TITLE">
  <xsl:variable name="getit" select="."/>
    <xsl:choose>
      <xsl:when test="contains($getit, $qq)">
        <TR>
          <TD>
            <FONT size="+2">
              <xsl:value-of select="$getit"/>
            </FONT>
          </TD>
        </TR>
      </xsl:when>
    </xsl:choose>
</xsl:for-each>


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.