You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Robin Green <gr...@hotmail.com> on 2000/11/10 14:40:20 UTC

Re: mail logicsheet

Bavo De Ridder <ba...@life.be> asked:
>How can you limit the listing of messages of a folder ?

This is a cocooon-users question. Moving to cocoon-users.

>
>I saw something like this in the mail.xsl file:
>
>   <xsl:variable name="start">
>     <xsl:call-template name="get-nested-string">
>       <xsl:with-param
>name="content" select="mail:limit-messages/mail:start-index"/>
>     </xsl:call-template>
>   </xsl:variable>
>   <xsl:variable name="end">
>     <xsl:call-template name="get-nested-string">
>       <xsl:with-param
>name="content" select="mail:limit-messages/mail:end-index"/>
>     </xsl:call-template>
>   </xsl:variable>
>
>But how does that look in the xml file ?


probably

<mail:limit-messages>
  <mail:start-index>1</mail:start-index>
  <mail:end-index>100</mail:end-index>
</mail:limit-messages>


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.