I'm creating an XML file using Perl and XML::Simple module. I successfully create the XML file, but the problem is I am having <opt> </opt>
tag for each my tags. I am looking for any option which we can aviod the <opt> </opt>
tag. I can't do the post-processing to remove the tag. because the file size is huge.
Example :
<opt>
<person firstname="Joe" lastname="Smith">
<email>[email protected]</email>
<email>[email protected]</email>
</person>
<person firstname="Bob" lastname="Smith">
<email>[email protected]</email>
</person>
</opt>
and I am looking for (without <opt>
tag):
<person firstname="Joe" lastname="Smith">
<email>[email protected]</email>
<email>[email protected]</email>
</person>
<person firstname="Bob" lastname="Smith">
<email>[email protected]</email>
</person>