def to_xml(self):
    return ('<%s>%s</%s>' % (self._nodename, self._xml.getvalue(), self._nodename))
def to_xml(self):
    return ('<%s>%s</%s>' % (self._nodename, self._xml.getvalue(), self._nodename))