in reply to XML::Simple Not getting the proper output.

why this mismatch ?

Because name is one of the default values for the KeyAttr option. See here KeyAttr


Note 1: The default value for 'KeyAttr' is ['name', 'key', 'id']. If you do not want folding on input or unfolding on output you must set this option to an empty list to disable the feature.
poj

Replies are listed 'Best First'.
Re^2: XML::Simple Not getting the proper output.
by Anonymous Monk on Jun 13, 2014 at 08:58 UTC

    greaatttt...It works...thanks a lot for help..