Removed last atof and isTrue for doubles and bools. Rudimentary unit tests for the ramaining two in XML