Project about a serires of questions that connects with XML and DATABASE

hi,
listen my client wants to put a series of questions with limited time to every question and he wants to put a “reaction time” to every question…
well this part is easy i have done that…
BUT
he also wants me to send this data to a DATABASE that will analyze and spread the data as XML… i hope this makes sense…
is this possible?
does anyone have any ideas of how to go about this?
i will really like to hear ideas about this…
thanks ahead…