in reply to Re: Print out an XML file to browser
in thread Print out an XML file to browser
#!/usr/bin/perl use strict; use warnings; use CGI qw(:standard); use CGI::Carp qw(fatalsToBrowser); print header; print start_html(-head=>meta({-http_equiv => 'Content-Type', -content => 'text/xml'})); open(XMLFILE, "/my/upload/path/master.xml"); while (<XMLFILE>){ print $_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Print out an XML file to browser
by virtualsue (Vicar) on Feb 20, 2007 at 05:56 UTC | |
by lakeTrout (Scribe) on Feb 20, 2007 at 06:58 UTC | |
by been42 (Curate) on Feb 20, 2007 at 14:55 UTC | |
|
Re^3: Print out an XML file to browser
by siva kumar (Pilgrim) on Feb 20, 2007 at 05:41 UTC | |
by virtualsue (Vicar) on Feb 20, 2007 at 06:26 UTC | |
by lakeTrout (Scribe) on Feb 20, 2007 at 05:55 UTC |