3 castable as xs:integer -> true "3" castable as xs:integer -> true 3.5 castable as xs:integer -> true ..... hmmmmm debatable that one ok...(scratches head)....so if it's roundable to an integer it's castable to an integer fine "3.5" castable as xs:integer -> false Btw which list is the home for XPath stuff.