add config-by-xml with sample config