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]

Re: Conditionally showing a record



> xsl:for-each="Record/Order/*" its giving all the 3 titles but 4 times since
> there are 4 repititions.

well you could use Record[1]/Order but why not just


<xsl:template match="Example">
<table>
<tr>
<th>Line</th><th>Item</th><th>Price</th>
</tr>
<xsl:for-each select="Record/Order[Line mod 10 = 0]">


 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]