I know that XML::Smart is buggy even i treid to contact the author but in vain :-(
I will try all the possible things ou mentioned. If nothing is working i have no option but to change the XML module
also i work in Germany now and dealing with data in German lanugage but I dont speak German and hence i cannot ask in perl.de :-(
Once again thanks a lot for your help. will post back if i have any questions.