Subject: Re: XPath 1.0 Expression to Test for 3 Digit Number
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sun, 27 May 2012 21:16:38 +0100
|
Ken,
Your solution is correct.Dint mean to poke your solution .. sorry
String length is still a tricky thing to do for numbers ( IMO )
Actually, the OP never made it clear whether a 4-digit number with a
leading zero was acceptable or not.
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.
Michael Kay
Saxonica
|