This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Date Comparison using ">=" and "<=" doesn't work - WHY! ?!?
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 12 Mar 2002 09:43:35 -0000
- Subject: RE: [xsl] Date Comparison using ">=" and "<=" doesn't work - WHY! ?!?
- Reply-to: xsl-list at lists dot mulberrytech dot com
> Sometimes your XML parser may not like the > or < characters
> within attribute values.
His XPath expression was submitted from JavaScript or something similar, not
from an XSLT stylesheet. So XML escaping of "<" and ">" isn't needed and
won't work.
Michael Kay
> >
> >
> > Style.XMLDocument.selectNodes("//xsl:apply-templates/@select")
> > (1).value = "record[Date >= '2/10/02' and Date <=
> > '2/15/02']";
> >
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list