Added support for reading property values from XML attributes as well as child nodes