);
my @forced_ns_decls = keys %prefix_map;
+my $ovf = "";
my $w = XML::Writer->new (
- OUTPUT => "self",
+ OUTPUT => \$ovf,
NAMESPACES => 1,
PREFIX_MAP => \%prefix_map,
FORCED_NS_DECLS => \@forced_ns_decls,
$w->endTag ([$ovf_ns, "Envelope"]);
$w->end ();
-my $ovf = $w->to_string;
-
#print "OVF:\n$ovf\n";
my $ovf_dir = "$esd_uuid_dir/master/vms/$vm_uuid";