This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Exclude: Substring Starts-with ?
- From: Mike Ferrando <mikeferrando at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 6 Mar 2002 12:13:51 -0800 (PST)
- Subject: [xsl] Exclude: Substring Starts-with ?
- Reply-to: xsl-list at lists dot mulberrytech dot com
Dear friends,
Will this syntax (below) tell me if substring $C11n begins with an
uppercase letter?
I would like to exclude all substrings that begin with an uppercase
letter.
Mike F.
<xsl:variable name="C11" select="substring-after(., ' ')"/>
<xsl:variable name="C11n" select="substring-after(., ' in ')"/>
<xsl:variable name="C11-sh" select="ancestor::SHOW/C1001/TITLE"/>
<xsl:variable name="C11-bf" select="ancestor::SONG/SCORE/C1003"/>
<xsl:choose>
<xsl:when test="contains($C11, '[') or starts-with(translate($C11n,
'ABCDEFGHIJKLMNOPQRSTUVXYZ', ''), 'X')">
</xsl:when>
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list