ensure the xml is actually edited not just a nodeset