Kan jeg på nogen måde få xslt til at ignorer at... "The 'xsl:if' start tag doesn't match the end tag of 'tr' " ?
Det er p.t. min eneste mulighed for at løse mit problem:
<table cellspacing="0" cellpadding="0" border="0" style="width:100%;">
<tr>
<xsl:for-each select="$currentPage/node">
<xsl:if test="position()>1">
<xsl:variable name="img" select="data[@alias='logo']" />
<xsl:variable name="url" select="umbraco.library:NiceUrl(@id)" />
<td style="width:50%; padding-right:10px;">
<table cellspacing="0" cellpadding="10" border="0" style="width:100%;">
<tr>
<td style="text-align:center; background-image:url(/images/slice02.png); background-repeat:repeat-x;">
<img src="{umbraco.library:GetMedia($img, 0)/data[@alias='umbracoFile']}" style="text-align:center;" />
<p style="text-align:left;">
<xsl:value-of select="data[@alias='resume']" />
<!-- Button -->
<table cellspacing="0" cellpadding="0" class="button"><tr><td>
<a href="{$url}"><img src="/images/button.gif" alt="" /></a></td>
<td> <a href="{$url}"><xsl:value-of select="umbraco.library:GetDictionaryItem('Read More')"/></a>
</td></tr></table>
</p>
</td>
</tr>
</table>
</td>
<xsl:if test="position() mod = 2"></tr></xsl:if>
</xsl:if>
// RTK
[Redigeret d. 21/02-06 23:38:58 af Rune Thougaard Kristensen]