Create xml file, CLI works