This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Showing results in parts...
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Showing results in parts...
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 27 Jul 2000 23:39:59 +0100
- Reply-To: xsl-list at mulberrytech dot com
Give your stylesheet two global parameters start-at and finish-at, and
somewhere in the logic include the test <xsl:if test="position() >=
$start-at and position() ≤ $finish-at">
Then organize the setting of these parameters from the calling environment,
e.g. a servlet or ASP page.
Mike Kay
> -----Original Message-----
> From: Peter Aherne [SMTP:ahernep@piercom.ie]
> Sent: Thursday, July 27, 2000 10:25 AM
> To: xsl-list@mulberrytech.com
> Subject: Showing results in parts...
>
> Hi,
>
> I have an xml/xsl page that shows the results of a query. What I want to
> do is to only show 50 results at a time. What is the easiest way of doing
> this. Sorry about the basic questions but I have limited socumentation
> here until MIchael Kay's book arrives so hopefully I wont have to bother
> ye so much in the near future.
>
> Regards,
> Peter.
>
> --
> Peter Aherne : IT Solutions Developer
> Mobile Number : 087-2246834
> E-Mail address : peter@linux.ie
> Web address : http://www.csn.ul.ie/~peter
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list