added controller to install xml ,  related to #221

added controller to install xml ,  related to #221