[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Limiting XSL Results for Timely Web Page Display
Pass a parameter to the XSL and use this for transformation:
<xsl:param name="start" select="0"/> <xsl:param name="count" select="20"/> <xsl:template match="result"> <xsl:apply-templates select="entries[position() > $start][position() < $count + 1]"/> </xsl:template> The select attribute of <xsl:param/> stores a default value, if no value is passed to the XSL. If the user clicks on a link "next 20 results", the "20" must be passed to the XSL again. Is this conceivable? Regards, Joerg Bruce Dailey wrote: I am building a search engine with ASP and XSL. One of the user’s XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|