Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: XML::Simple : element vs. attribute in XMLoutby ikegami (Patriarch) |
on May 26, 2010 at 14:45 UTC ( [id://841740]=note: print w/replies, xml ) | Need Help?? |
You can always transform the tree programmatically before XMLout.
For what it's worth, keep in mind your existing code will break if a mod element acquires an attribute. (Don't you love the fragility of XML::Simple?)
In Section
Seekers of Perl Wisdom
|
|