Sort by Date in XSL

webmasterbeta

New Member
I was trying to sort document by date in XSL.I know how to sort by ascending and descending order.But I don't know how to sort by date in xsl.Does XSLT supports it?Is anyone can help me with that?I used the following xsl code to sort document by ascending/descending orderAscending : <xsl:for-each select="/folder_tree/folder/document" order-by="+@object_name">Descending: <xsl:for-each select="/folder_tree/folder/document" order-by="- @object_name">Need to know the code to sort by date.
 
Back
Top