in reply to XML::SAX::Simple module

Suggest me,Is there is any rule in xml that, attribute is mandatory for the tags ??
There is no such rule. XML::Simple doesn't always do what you expect