Subject: Re: [xsl] comparing a string to a number? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 16 Sep 2003 18:55:18 -0400 |
<xsl:if test="/Output/response/Field < '20'">
This is confusing to me for a few reasons.
1) The '20' is in quotes
2) the value of the Field node is most often a number, but on some occasions it's a letter/number pair, like 1A or 1B.
Can this check ever work?
Would 1A ever be "less" than '20'?
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] comparing a string to a numbe, Keller, Matt | Thread | RE: [xsl] comparing a string to a n, cknell |
[xsl] comparing a string to a numbe, Keller, Matt | Date | RE: [xsl] Problem relocating nodes , Ryan Graham |
Month |