Suja Emmanuel wrote:
>
> Dear all,
>
>             I don't know how to write output in an xml file and open in
> IE browser. If anyone could write the sample program for that it will be
> very much helpful for me.

Hi Suja.

You'll have to tell us more about what you want. If you're on a Windows system
this will write XML and show it in Internet Explorer:


  use strict;
  use warnings;

  open my $fh, '> xml.xml' or die $!;

  print $fh <<XML;
  <?xml version="1.0"?>
  <subject>
    Using Perl to write output in an XML file
  </subject>
  XML

  close $fh;

  system 'xml.xml';


but isn't very comprehensive. Do you have raw data that you want to put into
XML? Or data in XML that you want to put into HTML? Do you need to use XSLT?

Describe the problem and we will help.

Rob

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to