Add xml, json resources and output xml uses resources for create base xml