write setting for XML add