That's because you need to do $cgi->header(); before you start emitting XML. (And you need to arrange to emit a correct MIME type for XML. By default, header() emits one for HTML. I'll leave that as an exercise.)
In reply to Re: Browser choking on XML-header
by dws
in thread Browser choking on XML-header
by schumi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |