xsl-list
[Top] [All Lists]

Re: [xsl] Naming the Column head based on a particular Node value

2007-03-21 04:00:38

something like

<thead>
<tr>
<xsl:for-each select="desc">
<td colspan="2"><xsl:value-of select="."/></td>
</xsl:for-each>
</tr>
<tr>
<xsl:for-each select="desc">
<td>qty</td><td>rate</td>
</xsl:for-each>
</tr>
</thead>
<tbody>

<xsl:for-each select="desc">
<td><xsl:value-of select="following-sibling::qty[1]</td>
<td><xsl:value-of select="following-sibling::rate[1]</td>
</xsl:for-each>
</tr>
</tbody>


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>