#NEWLINE# def visit_path( self , node ) : #NEWLINE# #INDENT# self . current_resource = node #NEWLINE# self . output . append ( '<resource path="{node.name}">' . format ( node = node ) ) #NEWLINE# self . visit ( node . params ) #NEWLINE# self . visit ( node . methods ) #NEWLINE# self . output . append ( '</resource>' )