about casting to bool i was looking at xmlToProps - seems both methods at least partially forgot to handle multivlaue