This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Date Comparison using ">=" and "<=" doesn't work -WHY! ?!?
- From: Joshua dot Kuswadi at BTFinancialgroup dot com
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 12 Mar 2002 10:50:28 +1100
- Subject: RE: [xsl] Date Comparison using ">=" and "<=" doesn't work -WHY! ?!?
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi Gregory,
Sometimes your XML parser may not like the > or < characters within attribute values.
>From what I've read and tried, replace less than with the string < and greater than with > which should get evaluated to the correct characters.
HTH,
Joshua
> -----Original Message-----
> From: Gregory Pearson [mailto:GregP@nbsys.com]
>
>
> Style.XMLDocument.selectNodes("//xsl:apply-templates/@select")
> (1).value = "record[Date >= '2/10/02' and Date <=
> '2/15/02']";
>
> IS IT NOT POSSIBLE TO USER ">=" AND "<=" FOR DATES?
>
------------------------------------------------------------------------------
This message and any attachment is confidential and may be privileged or otherwise protected from disclosure. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list