Xml helper improvements. Add the much needed boolean helper.