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]

Re: Grouping conditions


>   <xsl:when test="@type='101' or @type='102' or @type='103' ...">

You may use intervals if @type contains numerical values :
<xsl:when test="@type &gt; 100 and @type &lt; 104">

You may use string functions otherwise:
<xsl:when test="starts-with(@type,'10')"> or 
<xsl:when test="contains('101 102 103 ...',@type)">
to name a few...

Regards,
Gennady


 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]