# File rxml/html_transformer.rb, line 73
      def form(doc, name, action, method, req_id=nil, replace_id=nil, attr=nil)
        doc << "\n<form method=\"" << method.downcase << "\" action=\"" << action << "\" #{attr}"
     
        doc << " name=\"" << name << "\""
        doc << '>'
        yield doc
        doc << '</form>'
      end