Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • jigar 170 posts 233 karma points
    Apr 18, 2011 @ 13:40
    jigar
    0

    Row level bifurcation

    Hi All,

    I have around 50 Items under one node and i want to display them as following.

     

    <LI>

    •  ITEM 1
    •  ITEM 2

    </LI>

    <LI>

    •  ITEM 3
    •  ITEM 4

    </LI>

     

    <LI>

    •  ITEM 5
    •  ITEM 6

    </LI>

     

    etc.

     

    Please let me know if any one have idea about this.

    Many thanks,
    Jigar

     

  • david 46 posts 81 karma points
    Apr 18, 2011 @ 14:04
  • Richard Han 19 posts 41 karma points
    Apr 18, 2011 @ 18:34
    Richard Han
    0
        <xsl:for-each select="$currentPage/node()[name(.) = 'itemalias']">
    <xsl:choose>
    <xsl:when test="(position() mod 2) = 1">
    <p>
    <xsl:value-of select="'&lt;li&gt;'"/>
    </p>
    <xsl:value-of select ="./@nodeName"/>
    </xsl:when>
    <xsl:when test="(position() mod 2) = 0">
    <p>
    <xsl:value-of select ="./@nodeName"/>
    </p>
    <xsl:value-of select="'&lt;/li&gt;'"/>
    </xsl:when>
    </xsl:choose>
    </xsl:for-each>
Please Sign in or register to post replies

Write your reply to:

Draft