You're parsing `self.data`, re-encoding it as xml, and then re-parsing it in `_render_content`. Why not just do the parsing once, and store the parsed object?