XSL template structure for choosing latest event.

Posted by Deborah Klenke on Stack Overflow See other posts from Stack Overflow or by Deborah Klenke
Published on 2010-06-09T08:58:26Z Indexed on 2010/06/09 9:02 UTC
Read the original article Hit count: 223

Filed under:
|
|
|
|

I have a list grouped by Region and it currently shows all the items for each city. I want to reduce to only the most recent advisory for each city.

I have tried to use an xsl:for-each statement but I am messing up the names/parameters.

List is called mlc The list contains the fields: Title City Region Advisory DateCreated TT (calculated number field to find the number of minutes from the DateCreated to end of today which I intended to use the smallest to find the most recent)

I have the list grouped by Region and it currently shows all the items for each city. I want to reduce to only the most recent advisory for each city.

© Stack Overflow or respective owner

Related posts about template

Related posts about xsl