# File rxml/xforms_transformer.rb, line 854
      def menu(doc, label, accesskey=nil, xstyle=nil, &block) 
        @view_buffer << "<m:item height=\"1ex\" accesskey=\""
        if accesskey
          @view_buffer << accesskey
        else 
          @view_buffer << "#{@accesskey+=1}"
        end 
        @view_buffer << "\">"
        if xstyle 
          @view_buffer << " style=\"#{xstyle}\""
        else
          @view_buffer << " style=\"optionmenu\""
        end  
        @view_buffer << "<m:output style=\"label\">" << label << "</m:output>"
        if block
          yield doc
        end
        @view_buffer << "</m:item>"
      end