XSLT group both Events and News descending by date
This is an open discussion with 2 replies, filed under XSLT.
Search
Hmm, got it. Do you have a better solution?
That's what I would have come up with too.
Create an account or sign in to comment.
I need to output the latest 3 entries (ordered by
date
descending) from bothEvents
andNews
sections.See the XML on xpathr.
The output should be 3 entries, ordered by date descending:
I think
key()
should be used but I don't really know how to use it.Thanks for any help.