I have a xml document which contains customer information, I have to read this document and insert the relevant details into a database table.Would it be better to parse the whole xml document and store the data in a container class and then add it to the database after the document has been readOr after i have read the first customers data from the xml, add that record to the database, then read the next record from the xml file and so on