XML including SQL queries