route changes in xml document