def xpath_offset(self):
datai = self.depth_stack[-<NUM_LIT:1>].text_index()<EOL>xpath = (u'<STR_LIT:/>' +<EOL>u'<STR_LIT:/>'.join(dse.xpath_piece()<EOL>for dse in self.depth_stack[:-<NUM_LIT:1>]) +<EOL>(u'<STR_LIT>' % datai))<EOL>return (xpath, self.data_start)<EOL>
Returns a tuple of ``(xpath, character offset)``.

        The ``xpath`` returned *uniquely* identifies the end of the
        text node most recently inserted. The character offsets
        indicates where the text inside the node ends. (When the text
        node is empty, the offset returned is `0`.)