replace server.xml fragments with custom template parameter, rdavies