[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPath 1.0 Expression to Test for 3 Digit Number
translate(., '0123456789', '9999999999') = '999' and number(.) > 99
Michael Kay Saxonica On 08/05/2012 21:07, Don Smith wrote: I need an XPath 1.0 expression that will test a node and return a boolean if the node content is a 3 digit number (i.e., 100-999) and false if it's anything else.
|
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
|