Generates ERB file from XML config file