Configuring application with XML