Rewrite documentation in xml style