Create XML Configuration Dynamically