'MoinMoin uses || to delimit table cells'

def tableToString(self, tableElement):

    self.lastsegment = tableElement.tagName
    buffer = []
    for item in tableElement.childNodes:
        self.lastsegment = item.tagName
        if (item.tagName == 'table:table-header-rows'):
            buffer.append(self.tableToString(item))
        if (item.tagName == 'table:table-row'):
            buffer.append('\n||')
            for cell in item.childNodes:
                buffer.append(self.inline_markup(cell))
                buffer.append('||')
                self.lastsegment = cell.tagName
    return ''.join(buffer)
