First of all plz., lemme know the database which u r using???
I think neither of ur ways is simple when compared with XSU.
XSU is an acronym for XML SQL UTILITY. This utility is much more flxible and simple to use as far as i am concerned..some may say its difficult but in fact its very simple once u understand it.
What is XSU??
XSU is a utility program from Oracle8 onwards and it automatically changes the result of a SQL query into XML document and an XML Document into an SQL query. U can make updations, deletions etc., with this utility directly.
Hope this information will help u a lot...