This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Your display name, "satya", is in breach of our naming policy so I'll have to ask you to change it. We require both the first and the last name, although initials may be used in place of the first name. Thanks. Ah. I just noticed that Jason asked for the same in another thread. Sorry for the double-spam... [ October 30, 2003: Message edited by: Lasse Koskela ]
I'd recommend the following. (1) you can run position() function in a for-each node testing, and if the value falls in 1-10, that will be 1st page, 11-20, 2nd page, and so on. (2) you can also insert some numbering attribute to the records from say 1 to 100. Then output only those fall in the right range for a given page. (3) the best is to run xslt thru a subset of the XML records, probably at the DB end. This way, the performance is good. Imagine if you later have 10,000 records, grabbing 10 records out of them would be a very costly step. (4) other inputs from ranchers?
Tony Yan<br /> <br />IBM Certified Developer XML and Related Technology<br />Sun Certified Web Component Developer For J2EE Platform<br />Sun Certified Programmer For Java 2 Platform
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: XSL to display XML output in multiple pages