Altova Mailing List Archives

Re: [xsl] xslt pagnation help...

From: Joerg Heinicke <joerg.heinicke@------>
Date: 8/12/2002 9:59:00 AM
Sorry, but I don't understand that. Is <option onpick="#card">More</option> 
not enough? Do you need something like "#page0", "#page1" and so on there?


Zoe Peng wrote:
Hi Joerg, 
Yes. It's pretty much I need for my stylesheet.

position() 0-4 (on page 0)

position 5-10 (on page 1) 
position 11-15 (on page 2)

The problem: when I click option [More], it needs to link to #card 
which is from page0 to page1 and so on. The statement I use didn't 
perform this functionality. Any suggestions? Thanks in advance.


I don't know exactly what your problem is, but I would suggest 


the both email message types:

<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl=''
version='1.0' >
<xsl:output doctype-system=''/>

<!-- declare param -->
<xsl:param name="Page" select="0" />
<xsl:param name="PageSize" select="5" />

<!-- start from here -->

<xsl:template match="/">


    <card id="message">


        <select name="MAILMSGCONTENT" title="MAILMSGCONTENT">


          <option onpick="#card">More</option>


        <a href="#reply">Select</a>






<xsl:template match="email_session_config">

  <xsl:for-each select="( user_email_msgs/email_msg | 
default_email_msgs/email_msg ) [position() > ($Page * $PageSize)] 
[position() &lt;= $PageSize]">

    <option value="{em_msg_subj}">

      <xsl:value-of select="em_msg_subj"/>






System Development
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409

XSL-List info and archive:


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.