Con un file xml.

Ricavi i dati del tuo db li metti in formato xml e fai un output xml.