[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

"re-calling" template part 2

Subject: "re-calling" template part 2
From: Vaduvoiu Tiberiu <vaduvoiutibi@xxxxxxxxx>
Date: Thu, 10 May 2007 02:50:29 -0700 (PDT)
 "re-calling" template part 2
Ok, I'm going to try to explain what I need to do, hopeflly someone can give me at least a starting point or clue on how to do it. 
I have an xml like

<newslist>
       <news>
            <name>news1</name>
            <location>/folder/news1.xml</location>
        </news>
       <news>
            <name>news2</name>
            <location>/folder/news2.xml</location>
        </news>

...and so on up to news100 let's say.

I need to display the news names on a page 10 at the times(because there are to many and there are other issues that kind of force me to display only like 9 or 10). So when someone loads the page it sees just 10 news, like
news1
news2
...
news10

Under the div or table where the news names are displayed I should have 2 buttons or anchors "previous" and "next" and when the user clicks on the them, he sees the next 10 entries(news11,news12,etc) or the previous 10 on the page. Hope you see the picture. I'm thinking is not such a hard thing to achieve but so far I can't manage to make it work. Anyone can give me a clue on how this problem should be approched. 10x a lot

P.S If anyone knows some documentation/tutorial/e-books on cocoon please give me a link cause I've been looking on google for tutorials/ebooks on cocoon and haven't found almost anything.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.