Help for this page

Select Code to Download


  1. or download this
    open my $out_fh, '>', $file;
    print {$out_fh} $doc->toString;
    
  2. or download this
    use warnings;
    use strict;
    ...
    close $fh;
    
    $doc->toFile('/tmp/two.xml');