xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Ordering Mathmatical functions in XSLT


Subject: RE: [xsl] Ordering Mathmatical functions in XSLT
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sun, 1 Aug 2004 19:35:50 +0100

> Also Is there a between function?
> Example: If test="number($var1) between 5 and 9
> 

Provided you are dealing with integers, XPath 2.0 allows you to write

$var1 = 5 to 9

For the more general case, you need

$var ge 5 and $var le 9

which is probably better anyway, as it places fewer demands on the
optimizer.

Michael Kay


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor