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]

Exclude: Substring Starts-with ?


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


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