(like MS Access does), that would be good start. Then write a xslt-script to change the details to your need.

Kees