xsl-list
[Top] [All Lists]

Re: Sorting different date formats

2004-01-13 02:29:56
Lainaus allan(_dot_)mccluskey(_at_)centrelink(_dot_)gov(_dot_)au:

< Hi all,
<
< Could someone please show me how to perform and XSL:SORT on an date in this
< format? <endDate>2004-02-15</endDate>
<
< I have many other sorts that I need to perform so an explantion would also
< be much appreciated so I can fully understand how you do it : )
<
< Many thanks,
< Allan
<
<

You can use sub-string to get the desired result.

Look here for example:

http://www.topxml.com/xsltStylesheets/Stylesheets/FilteringSorting/ConcatDDMMYYYY/ConcatDDMMYYYY.xsl


Cheers,
Jarkko

***************************************************
* Jarkko Moilanen                                 *
* Dokumentoinnin kehittäjä                        *
* Profound XML technology Expert                  *
* DokuMentori Oy                                  *
* www.dokumentori.fi                              *
***************************************************

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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