0

Need to create a XML with the following format using perl XML::Simple module:

<module plugin="test"> 
 <plugin>production</plugin> 
</module>

1 Answers1

0

That's one of the limitations of XML::Simple. It's not possible to have a child element with the same name as an attribute. See https://stackoverflow.com/a/33273488/1030675.

Community
  • 1
  • 1
choroba
  • 231,213
  • 25
  • 204
  • 289