#NEWLINE# def _start_relational_field( self , field ) : #NEWLINE# #INDENT# '\n        Helper to output the <field> element for relational fields\n        ' #NEWLINE# self . indent ( 2 ) #NEWLINE# self . xml . startElement ( 'field' , { #NEWLINE# #INDENT# 'name' : field . name , #NEWLINE# 'rel' : self . rel . __class__ . __name__ , #NEWLINE# 'to' : smart_unicode ( field . rel . to . _meta ) , #NEWLINE# #UNINDENT# } )