This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Literal string question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]