implementing DictToXml

implementing DictToXml