rack to route xml