from and to xml fixes, XmlValue handling