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

RE: Confused with ranges of variables...

Subject: RE: Confused with ranges of variables...
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 27 Jul 2000 23:43:14 +0100
RE: Confused with ranges of variables...
By this do you mean that the range is 123 to 456789 inclusive?

if so, the test is
<xsl:if test="a &gt;= substring-before($range, '-') and a &lt;=
substring-after($range, '-')"/>

Mike Kay

> -----Original Message-----
> From:	Peter Aherne [SMTP:ahernep@xxxxxxxxxx]
> Sent:	Thursday, July 27, 2000 1:57 PM
> To:	xsl-list@xxxxxxxxxxxxxxxx
> Subject:	Confused with ranges of variables...
> 
> I'm trying to do a range check with a variable. The problem is that the
> variable is of the from 123-456789. If I do a = 123-456789 it does not
> return anything despite the fact that such a value exists. I presume this
> problem is due to the variable type. I want to do a numeric comparason on
> this but have no idea how.
> 
> Regards,
> 
> -- 
> Peter Aherne   : IT Solutions Developer
> Mobile Number  : 087-2246834
> E-Mail address : peter@xxxxxxxx
> Web address    : http://www.csn.ul.ie/~peter
> 
> 
>  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.