|
Subject: [xsl] empty row between types From: "Sam Carleton" <scarleton@xxxxxxxxxxxxxxxx> Date: Fri, 8 Dec 2006 14:20:35 -0500 |
<data> <row type="red"></row> <row type="red"></row> <row type="red"></row> <row type="blue"></row> <row type="blue"></row> <row type="blue"></row> </data>
<table border="1"> <tr><th>Color</th></tr> <tr><td>red</td></tr> <tr><td>red</td></tr> <tr><td>red</td></tr> <tr><td></td></tr> <tr><td>blue</td></tr> <tr><td>blue</td></tr> <tr><td>blue</td></tr> </table>
<xsl:template match="data">
<html>
<body>
<table border="1">
<tr><th>Color</th></tr>
<xsl:apply-templates/>
</table>
</body>
</html>
</xsl:template><xsl:template match="row"> <tr><td><xsl:value-of select="@type"/></td></tr> </xsl:template>
How do I go about getting the empty row. Oh, there is one catch, I do *NOT* know what the types are or when they will change. I only know there *MIGHT* be different types, might not.
Sam -- Miltonstreet Photography http://www.miltonstreet.com
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Need Help, iwantto keepanon | Thread | RE: [xsl] empty row between types, Michael Kay |
| [xsl] Need Help, Brant Schroeder | Date | RE: [xsl] Need Help, cknell |
| Month |