RE: XPath

Subject: RE: XPath
From: "Spychalski, Frank" <frank.spychalski@xxxxxxx>
Date: Mon, 31 Jul 2000 18:44:57 +0200
->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@xxxxxxx 


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


Current Thread