XP is just a number | |
PerlMonks |
Re: Print out an XML file to browserby been42 (Curate) |
on Feb 20, 2007 at 04:10 UTC ( [id://601018]=note: print w/replies, xml ) | Need Help?? |
You should be able to just open foo.xml in your browser by clicking on the file. But if you'd like to output XML from your script to your browser and view it as XML, I think you need to change the Content-Type. I checked the CGI documentation, and it looks like this is how you'd do it:
Someone please correct me if I am wrong.
In Section
Seekers of Perl Wisdom
|
|