Hi Guys
 
The script below is taken from the paginator sample file pagedlist2.html.
 
        <xsl:if test="page:link[@type='prev']">
          <xsl:variable name="previous" select="@current - 1"/>
           <a href="{page:link[@page = $previous]/@uri}">&laquo; prev</a>
         </xsl:if>
 
how does the <xsl:variable name="previous" select="@current - 1"/> statement work??
 
Thanks
 

Reply via email to