XML attribute-reading functionality added;