Xml/array pageing

Could anyone offer some advice and how i can go about only displaying four items in an array. with previous and next buttons to navigate forther through it. Im stumpt to find nay information on this.

Thanks all :ne: