cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: mail logicsheet
Date Fri, 10 Nov 2000 15:12:58 GMT
Bavo De Ridder wrote:
> 
> Hi,
> 
> How can you limit the listing of messages of a folder ?
> 
> 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 ?

It looks like this:

      <mail:results>
        <folder>
          <mail:get-messages>
            <mail:limit-messages>
              <mail:start-index><request:get-parameter
name="start"/></mail:start-index>
              <mail:end-index><request:get-parameter
name="end"/></mail:end-index>
            </mail:limit-messages>
            <from><mail:get-from/></from>
            <subject><mail:get-subject/></subject>
            <date><mail:get-sent-date/></date>
            <flags><mail:get-flags/></flags>
          </mail:get-messages>
        </folder>
      </mail:results>

--
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: u.cei@cbim.it

Mime
View raw message