• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pagination xml

 
Julia Johnson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody!
Please, advise me something in my problem. I have an xml file with 2000 records and i need to display data on 20 records per sheet.
Thank you!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you done so far?
 
Julia Johnson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been studying xslt, but i can't understand how to apply it for pagination. There are no id in xml file.
I'm trying read xml by stax and output data in browser, but all data are displayed.
 
Paul Clapham
Sheriff
Posts: 21117
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would parse the 2000 "records" in the XML (whatever they might be) into 2000 plain old Java objects and use ordinary pagination methods to display them.

XSLT would be a long way down the list of technologies I would choose for that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic