|
Subject: [xsl] Re: group-by sorting and paging problem... From: Robert Wilkins <wilkins.robert@xxxxxxxxxxx> Date: Fri, 15 Dec 2006 22:59:47 -0500 |
<xsl:param name="start-index" select="number(1)"/>
<xsl:param name="group-size" select="number(7)"/> <xsl:template match="messages">
<xsl:apply-templates select="msgblock">
<xsl:sort select="@id"/>
</xsl:apply-templates>
</xsl:template> <xsl:template match="msgblock">
<xsl:if test="position() mod $group-size =1"> <!-- write html tags for each group starting
where the mod of the position() is 1...
this groups things properly
--> <html>
<head></head>
<body>
<table></table>
</body>
</html>
</xsl:if>
<!-- this writes the right cols and rows, but how
do I stick this in the middle of the html?
-->
<tr>
<td>
<xsl:value-of select="errnum"></xsl:value-of>
</td>
</tr>
<tr>
<td>
<xsl:value-of select="message"></xsl:value-of>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Font issue in PDF generat, J.Pietschmann | Thread | [xsl] Behavior of document() Functi, Roger L. Cauvin |
| [xsl] XSLT to spit out all mandator, Minas Casiou | Date | RE: [xsl] XSL-FO: Accessing nodes b, Philip Vallone |
| Month |