[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 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[. > '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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|