Replaced render_snippet() with render() for generating XML