Solution for Xml processing