Subject: RE: Showing results in parts...
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 27 Jul 2000 23:39:59 +0100
|
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@xxxxxxxxxx]
> Sent: Thursday, July 27, 2000 10:25 AM
> To: xsl-list@xxxxxxxxxxxxxxxx
> 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@xxxxxxxx
> 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
|