Created
June 30, 2011 10:50
-
-
Save abtris/1056003 to your computer and use it in GitHub Desktop.
Two columns by xslt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <dl class="fields"> | |
| <xsl:for-each select="fields/item/item[position()<=floor(count(../item) div 2)]"> | |
| <dd><a href="{/doc/body/links/link[@id='Jobs_Academy']}{seourl}"><xsl:value-of select="name" /></a></dd> | |
| </xsl:for-each> | |
| <xsl:comment> | |
| Cleaner | |
| </xsl:comment> | |
| </dl> | |
| <dl class="fields"> | |
| <xsl:for-each select="fields/item/item[position()>ceiling(count(../item) div 2)]"> | |
| <dd><a href="{/doc/body/links/link[@id='Jobs_Academy']}{seourl}"><xsl:value-of select="name" /></a></dd> | |
| </xsl:for-each> | |
| <xsl:comment> | |
| Cleaner | |
| </xsl:comment> | |
| </dl> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment