Need to check for null on the xml attribute