Sort by date in XSL

Posted by bethhilson on Stack Overflow See other posts from Stack Overflow or by bethhilson
Published on 2010-03-12T17:03:47Z Indexed on 2010/03/12 17:07 UTC
Read the original article Hit count: 301

Filed under:
|

I am trying to sort by date for XML output. Here is my XSL:

http://www.dnncreative.com -->

<!-- Test to limit number of items displayed.  Here only 5 items will be transformed -->

<br></br>
<!-- to open links in a new window, change target="_main" to target="_blank" -->
<strong><a href="{link}" target="_blank"><xsl:value-of select="title"/></a></strong>
<br>
    <!-- <xsl:value-of select="pubDate"/> -->
</br>
<!-- only display 100 characters of the description, and allow html -->
<xsl:value-of disable-output-escaping="yes" select="description"/>


I am trying to sort descending using the entereddate in my XML:

Media Director

4/2/2009

01646359

Cleveland

OH

United States of America

$0.00 - $0.00 / $0.00/hr - $0.00/hr

http://employment.topechelon.com/web77391/jobseeker/sSetup.asp?runsearch=1&spJobAdId=01646359

http://employment.topechelon.com/web77391/jobseeker/sSetup.asp?runsearch=1&spJobAdId=01646359

Any help would be appreciated! Thanks Beth Hilson

© Stack Overflow or respective owner

Related posts about Xml

Related posts about xsl