#NEWLINE# def _write_alternate_styles( builder , styles ) : #NEWLINE# #INDENT# builder . start ( 'styles' , dict ( ) ) #NEWLINE# for s in styles : #NEWLINE# #INDENT# builder . start ( 'style' , dict ( ) ) #NEWLINE# _write_style_element ( builder , getattr ( s , 'fqn' , s ) ) #NEWLINE# builder . end ( 'style' ) #NEWLINE# #UNINDENT# builder . end ( 'styles' )