xsl-list
[Top] [All Lists]

Re: [xsl] XPath 1.0 Expression to Test for 3 Digit Number

2012-05-27 15:16:45

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--