base settings upon XML