Transactions should be atomic - either the entire xml gets loaded, or it doesn't. Otherwise garbage data would start accruing in the database