PHP:
sql_fetchrow($result) ) $output .= "n"; header('Content-type: application/xml'); echo $output; ?>