xsl-list
[Top] [All Lists]

RE: [xsl] Confused using a loop...

2007-03-28 10:54:05
Btw, from a previous thread you seemed to be using the much easier
translate() version, suggested by Michael Kay: 
http://www.biglist.com/lists/xsl-list/archives/200703/msg00710
.html , i.e.:

<!-- this -->
<xsl:sort select="translate(lastUpdate,'/','')" date-type="number" />

<!-- or this: -->
<xsl:sort select="translate(lastUpdate,'/ ','')" date-type="number" />

something like that.

Why did you change to the more verbose version you have 
above? Isn't having one xsl:sort statement instead of three easier?

Confusion, mainly. I had a number of XSL files going at once trying out
different options but never got back to putting the shorter sort back
into the final one. It's in there now! Thanks for the reminder ;o)

-Darrel

--~------------------------------------------------------------------
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>
--~--

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