Copied to clipboard

Flag this post as spam?

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


  • Avinash 2 posts 22 karma points
    Feb 13, 2013 @ 11:59
    Avinash
    0

    Nex Prev Button in XSLT

    Hi,

     

    Need Help, I am new to xslt, can someone please tell me where and how can add Next/Prev buttons in the xslt below i have.

     

     

    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
      <xsl:output method="html" />
      <xsl:template match="channel">
        <xsl:for-each select="item">
          <div>
            <span class="oj-title">
              <xsl:value-of select="@title"></xsl:value-of>
            </span>
            <br/>
            <xsl:if test="@businessArea != ''">
              <span class="oj-description">
                <b>Reporting Segment: </b>
                <xsl:value-of select="@businessArea"></xsl:value-of>
              </span>
              <br/>
            </xsl:if>
            <xsl:if test="@businessCountry != ''">
              <span class="oj-description">
                <b>Country: </b>
                <xsl:value-of select="@businessCountry"></xsl:value-of>
              </span>
              <br/>
            </xsl:if>
            <xsl:if test="@jobLocation != ''">
              <span class="oj-description">
                <b>Location: </b>
                <xsl:value-of select="@jobLocation"></xsl:value-of>
              </span>
              <br/>

            </xsl:if>
            <div class="oj-btnwrap">
              <a class="oj-view">
                <xsl:attribute name="href">
                  <xsl:value-of select="@link"/>
                </xsl:attribute>
                View Details
              </a>
            </div>
            <div class="metso-clear"></div>
          </div>
        
        </xsl:for-each>     
      </xsl:template>
    </xsl:stylesheet>

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 13, 2013 @ 19:05
    Jan Skovgaard
    0

    Hi Avinash

    Could you try explaining a bit more detail about what it is you're trying to achieve above? I think the code looks a bit odd so just want to know what you exactly need to achieve before digging further into giving advices on the code.

    Looking forward to hearing from you.

    /Jan

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies