I can't help with your question but I was wondering...
I'm planning a similar project but I can't seem to get my head round it. Is the data entered into the database as XML or is it created when it's retrieved from the database?
Edit: I think writing stuff down helps! It must be created when it's retrieved from the db. Sorry for the attempted thread hijack!

__________________That's fuckin' ingenious, if I understand it correctly. It's a Swiss fuckin' watch.