Util in c# to work with XML