At work we are being asked to create XML files to pass data to another offline application that will then create a second XML file to pass back in order to update some of ou
Both methods for storing object's properties are perfectly valid. You should depart from pragmatic considerations. Try answering following question:
Which representation leads to faster data parsing\generation?
Which representation leads to faster data transfer?
Does readability matter?
...