jQuery in Action, 2nd edition*
The moose likes XML and Related Technologies and the fly likes Client Side XML Pagination Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Client Side XML Pagination" Watch "Client Side XML Pagination" New topic
Author

Client Side XML Pagination

Mazhar M Shaikh
Greenhorn

Joined: Oct 30, 2002
Posts: 4
Dear All,
i have a jsp which transforms an xml file with an xsl.My xml file contains more than 50 records.I need to display only 10 records instead of a all the 50 records to the user.
Questions:
1.Do we have functions in jaxp api that can help pass the parameters to the xsl file or any other method to implement this using java api's only?
2.How to achieve this in xsl file itself?
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
If you are using XALAN,there is servlet example in the docs folder which shows how to pass XSL parameter with querystring.
rgds
balaji


Spritle Software Blogs
Mazhar M Shaikh
Greenhorn

Joined: Oct 30, 2002
Posts: 4
thanx Balaji ,
I have found that example and i guess i'll solve the problem using that.
thanx a lot.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client Side XML Pagination