Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Paginating with Spry and XML 1

Status
Not open for further replies.

DevilsDragon

Programmer
Jun 26, 2008
2
I have an xml file that is getting quite large and I would like it to automatically paginate after so many entries, say 5 per page for the sake of argument. This is for a real estate site,
Here is a sample of the structure of my xml file:

<property>
<addr></addr>
<mls></mls>
<price>$</price>
<availability>Available</availability>
<desc_heading></desc_heading>
<desc_body></desc_body>
<desc_footer></desc_footer>
</property>

I just got into XML and Spry, so there might be a simple solution that I'm unaware of. The key here is automatic pagination. I don't want to make separate pages every time I get too many on the page.

Any help here will be great. Thanks, guys.
 
Thanks, tsuji, this will be most helpful. I'll post my results when I get them up for anyone else who comes along.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top