I am trying to output column category navigation but I cannot get the xmlpackage to output what I want. I tried the following code but it errors on the if for position() mod 10 because I have </ul><ul> and that's not valid html. Any suggestions?
Code:
<ul>
<xsl:for-each select="/root/EntityHelpers/Category/descendant::Entity[ParentEntityID=$EntityID]">
<li>
<a href="{aspdnsf:EntityLink(EntityID, SEName, 'category', 0, '')}" title="{Name}">
<xsl:value-of select="Name" disable-output-escaping="yes"/>
</a>
</li>
<xsl:if test="position() mod 10"></ul><ul></xsl:if>
</xsl:for-each>
</ul>