abstract out more xml settings