[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Comparison operator

Subject: RE: Comparison operator
From: "Oleg Tkachenko" <olegt@xxxxxxxxxxxxx>
Date: Fri, 22 Mar 2002 20:00:14 +0200
list of comparison operator
Hello!

Or even "mytag > 0" :)

---
Oleg Tkachenko,
Multiconn International, Israel 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of David 
> N Bertoni/Cambridge/IBM
> Sent: Friday, March 22, 2002 6:37 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Comparison operator
> 
> 
> 
> Sounds like a processor bug.   The string '0' should be automatically
> converted to the number 0, although is there some reason you're not just
> using a number?
> 
> By the way, the "./" is unnecessary here.  This is exactly the same thing:
> 
>    "mytag[. > 0]"
> 
> Dave
> 
> 
> 
> |---------+------------------------------------->
> |         |           Jean.Ossmann@xxxxxxxxxxxx |
> |         |           Sent by:                  |
> |         |           owner-xsl-list@xxxxxxxxxxx|
> |         |           rrytech.com               |
> |         |                                     |
> |         |                                     |
> |         |           03/21/2002 09:37 PM       |
> |         |           Please respond to xsl-list|
> |         |                                     |
> |---------+------------------------------------->
>   
> >-----------------------------------------------------------------
> -----------------------------------------|
>   |                                                               
>                                            |
>   |        To:      XSL-List@xxxxxxxxxxxxxxxxxxxxxx               
>                                            |
>   |        cc:      (bcc: David N Bertoni/Cambridge/IBM)          
>                                            |
>   |        Subject:  Comparison operator                     
>                                            |
>   
> >-----------------------------------------------------------------
> -----------------------------------------|
> 
> 
> 
> Hi, I am a little bit lost and couldn't find in a reasonnable time in the
> references why does the following test return true with  <mytag> -1
> </mytag>
> 
> <xsl:if test="./mytag[. &gt; '0']">
> 
> Thanks in advance
> 
> J. Ossmann
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
> 
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.