in reply to Re: XML::Generator bad header?
in thread XML::Generator bad header?
I am looking for a specific CGI XML header way of printing a header. Below is what the raw xml file looks like now.XML Parsing Error: syntax error Location: http://localhost/now.xml Line Number 1, Column 1:Content-Type: text/xml ^
Trying this nowContent-Type: text/xml^M ^M
<edit> This didn't work either.print CGI->header('text/xml'); print "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";
XML Parsing Error: syntax error Location: http://localhost/now.xml Line Number 1, Column 1:Content-Type: text/xml ^
Content-Type: text/xml^M ^M <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: XML::Generator bad header?
by Gangabass (Vicar) on Aug 19, 2007 at 01:07 UTC | |
by hallikpapa (Scribe) on Aug 19, 2007 at 01:12 UTC | |
by Anonymous Monk on Aug 19, 2007 at 02:15 UTC | |
by hallikpapa (Scribe) on Aug 19, 2007 at 07:34 UTC | |
by misc (Friar) on Aug 19, 2007 at 11:04 UTC | |
Re^3: XML::Generator bad header?
by mr_mischief (Monsignor) on Aug 19, 2007 at 20:39 UTC | |
I don't think you understand CGI still
by Anonymous Monk on Aug 21, 2007 at 11:52 UTC | |
Re^3: XML::Generator bad header?
by Anonymous Monk on Feb 25, 2009 at 15:58 UTC | |
by Anonymous Monk on Feb 27, 2009 at 14:07 UTC |