Yes, comparison as a string will work from 1000-01-01 to 9999-12-31,
or the strings could be converted to dates as others have mentioned.
But be sure this field is a DATE, not a DATE or DATE-TIME, as the
latter in RFC 5545 permits time zones in any of 3 formats. At least
one of those formats will not work with string comparison, and
comparison of different formats (or of a DATE with a DATE-TIME) will
probably also not work. In all of these converting to an xsd:dateTime
first is probably your best bet. (But for at least one DATE-TIME
format, that seems to me to be annoying, and perhaps quite
difficult.)
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--