xsl-list
[Top] [All Lists]

[xsl] "re-calling" template part 2

2007-05-10 02:50:53
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 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>