D
dingbat
Losing my marbles here (some sleep would help!)
Why are the following XPath comparisons both returning false ?
<xsl:value-of select="string('2005-09-22T12:43:23') >
string('2005-09-15T14:06:58')" />
<xsl:value-of select="string('2005-09-15T14:06:58') >
string('2005-09-22T12:43:23')" />
Shouldn't these just act as simple string comparisons and behave
themselves? As the dates are ymd and 0 padded, then this is also
adequate for a date comparison?
I keep staring at the code, but it doesn't get any clearer 8-(
Thanks!
Why are the following XPath comparisons both returning false ?
<xsl:value-of select="string('2005-09-22T12:43:23') >
string('2005-09-15T14:06:58')" />
<xsl:value-of select="string('2005-09-15T14:06:58') >
string('2005-09-22T12:43:23')" />
Shouldn't these just act as simple string comparisons and behave
themselves? As the dates are ymd and 0 padded, then this is also
adequate for a date comparison?
I keep staring at the code, but it doesn't get any clearer 8-(
Thanks!