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


David,how to display the title?.Cause when I try name() for
xsl:for-each="Record/Order/*" its giving all the 3 titles but 4 times since
there are 4 repititions.

Francis

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


 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]