xsl-list
[Top] [All Lists]

RE: [xsl] Tokenized String Sorting Puzzle/Problem

2008-03-26 06:34:29
What I can't seem to accomplish is sorting the resulting 
pairs into numerical order based on the first and then the 
second values in each pair. 

looks to me like

<xsl:for-each...
  <xsl:sort select="number(substring-before(., ' '))" data-type="number"/>
  <xsl:sort select="number(substring-after(., ' '))" data-type="number"/>

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--