# File rxml/working2/wap_transformer.rb, line 75 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