for parsing xml, provided code cleanup and easier to define default values.  fixed issue where trying to set a default category for those without would fall back to a blank string.