This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Client Side XML Pagination" Watch "Client Side XML Pagination" New topic

Client Side XML Pagination

Mazhar M Shaikh

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.
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

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.

Spritle Software Blogs
Mazhar M Shaikh

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:
subject: Client Side XML Pagination
It's not a secret anymore!