Hi all,
I want to get rid of the <opt> node, created with XMLout().
Let me illustrate this. I want to create a piece of XML that looks like this :
<book_1>title_1</book1>
<book_2>title_2</book1>
And with this piece of code :
use XML::Simple;
my %xml_hash = (
book1 => ['bla'],
book2 => ['bli'],
);
my $xml = XMLout(\%xml_hash, KeyAttr => []);
print $xml;
i get this XML structure instead :
<opt>
<book_1>title_1</book1>
<book_2>title_2</book1>
</opt>
I don't want this <opt> node, is there any way to not create it, with XMLout()?