def textarea(doc, txt="", options={})
if options[:id] and options[:xpath].nil?
@model_buffer << "\n" << '<xf:instance id="' << options[:id] << '"><data xmlns=""><text>' << txt << "</text></data></xf:instance>\n"
end
@view_buffer << "\n<m:textoutput #{options[:xstyle]}"
if options[:id]
@view_buffer << " ref=\"instance('" << options[:id] << "')/"
if options[:xpath]
@view_buffer << options[:xpath]
else
@view_buffer << "text"
end
@view_buffer << "\"/>"
else
@view_buffer << ">" << txt << "</m:textoutput>"
end
end