Removed xml from matching template