This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Showing results in parts...


Give your stylesheet two global parameters start-at and finish-at, and
somewhere in the logic include the test <xsl:if test="position() &gt;=
$start-at and position() &le; $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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]