This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XPath


->It actually is in this format:
->
->Thursday, July 20, 2000 10:38:21 AM PDT
->
->Though with a JS extension I could whittle it down to this format:
->
->7/20/2000
->
->Are either possible?

Hi,

try this:

<xsl:sort select="substring-after(substring-after(@date, '/'),'/')">
  <xsl:sort select="substring-before(@date, '/')">
    <xsl:sort select="substring-before(substring-after(@date, '/'),'/')">
        ...

bye 
Frank
-
Frank Spychalski
Research Engineer
SAP Labs, Palo Alto           frank.spychalski@sap.com 


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]