This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Date Comparison using ">=" and "<=" doesn't work - WHY! ?!?


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]