def xml(self): """ this returns the object src_element element as a string based on the class name (using tag here) we set xml_header to False because we only want the header on our top level tree """ return util.element_to_xml(self.etree,xml_header=False)
def xml(self): """convenience property that returns the XML string of the OpenClip instance's etree """ return util.element_to_xml(self.etree)
def __unicode__(self): """ this returns the object etree element as a unicode string """ return util.element_to_xml(self.etree)