Skip to content

Instantly share code, notes, and snippets.

@ophentis
Created July 12, 2011 07:48
Show Gist options
  • Save ophentis/1077572 to your computer and use it in GitHub Desktop.
Save ophentis/1077572 to your computer and use it in GitHub Desktop.
[xslt] data to table
<xsl:for-each select="data/entry[position() mod 3 = 1]">
<tr>
<xsl:for-each select=". | following-sibling::entry[position() &lt; 3]">
<td>
<xsl:value-of select="@id"/>
</td>
</xsl:for-each>
</tr>
</xsl:for-each>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment