def xml(self, attribs = None,elements = None, skipchildren = False):
        """See :meth:`AbstractElement.xml`"""
        if not attribs: attribs = {}
        if self.idref:
            attribs['id'] = self.idref
        return super(AbstractTextMarkup,self).xml(attribs,elements, skipchildren)
def xml ( self , attribs = None , elements = None , skipchildren = False ) : if not attribs : attribs = { } if self . idref : attribs [ 'id' ] = self . idref return super ( AbstractTextMarkup , self ) . xml ( attribs , elements , skipchildren )
See :meth:`AbstractElement.xml`