View Full Version : Paging XML data with XSLT
Daniel Israel
05-08-2007, 05:57 PM
I have some data from a database dumped to an XML file. I'm creating an XSLT file to display it and it works just fine, but my sample is 10M and the real world implementation might have up to 250M of data.
Is there a way to page the data using XSLT? Has anybody seen an example of this? I'm new to XSLT, so maybe I'm just overlooking something.
Thanks.
Hi Daniel,
When you say "paging the data", do you mean "paging" in the same way that a CPU pages memory? If that's the case, then the concept doesn't really apply here, the web browser that you will be using to look at the XML file will need to load the whole file, regardless of the XSL stylesheet you've used. There are several ways to split up the XML data, but they would all be server-side.
Mike.
Daniel Israel
05-14-2007, 06:35 PM
Hi Daniel,
When you say "paging the data", do you mean "paging" in the same way that a CPU pages memory? If that's the case, then the concept doesn't really apply here, the web browser that you will be using to look at the XML file will need to load the whole file, regardless of the XSL stylesheet you've used. There are several ways to split up the XML data, but they would all be server-side.
Mike.
Yea, I was thinking of having only a small portion of it on one page, then going to the next page, etc... I guess I'll have to do it server side. Thanks though.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.