sonnysavage
Programmer
I'm parsing some xml using xsl. I have some xml elements which are given the values of True and False. I want to use those values for a boolean test, but the boolean() function returns true for both of them (it tests whether string length is greater than zero).
Does anyone know of a quick way to convert True and False text strings to one or zero?
Does anyone know of a quick way to convert True and False text strings to one or zero?