If you are building the document from scratch (ie not from a data structure but as a process output) I strongly suggest XML::Writer.
If you really want to use XML::Simple, read the POD's part relative to options, and specifically KeyAttr and ForceArray options. To obtain your document you should force array folding and generate your data structure so that any node not containing other nodes is an array
Careful with that hash Eugene.
In reply to Re: XML::Simple and xmlns attributes
by psini
in thread XML::Simple and xmlns attributes
by Ozeroc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |