def __str__(self):
        attribute_html = ' '.join(["{}='{}'".format(name, value) for name,value in self.attributes.items()])
        if not self.children:
            return "<{} {}/>".format(self.tag, attribute_html)
        else:
            children_html = "".join([str(child) for child in self.children])
            return "<{} {}>{}</{}>".format(self.tag, attribute_html, children_html, self.tag)
Equivalent to pickle.dumps except that the HoloViews option
dataset/ETHPy150Open tkanerva/openmail/OpenMail/openmail/myhtml.py/HtmlElement.__str__--crossover with--dataset/ETHPy150Open ioam/holoviews/holoviews/core/options.py/Store.dumps