[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: Conditionally showing a record
Subject: Re: Conditionally showing a record
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 7 Apr 2000 22:30:58 +0100 (BST)
|
> 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
|