#NEWLINE# @ classmethod #NEWLINE# def from_element( cls , e ) : #NEWLINE# #INDENT# content = ( cls . text or '' ) #NEWLINE# return cls ( content , deleted = e . attr ( 'deleted' , False ) , xml_space = e . attr ( 'xml:space' ) , id = e . attr ( 'id' ) , bytes = e . attr ( 'bytes' ) )