Try to run it first. I attached the result above. This is more consistent with the output when there is only one type tag. I re-read the OP, it's true that he would like to keep name as the key. Missed that.
In reply to Re^3: XML::Simple parsing into a hash wierd behaviour
by PeterPeiGuo
in thread XML::Simple parsing into a hash wierd behaviour
by jthomas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |