Displaying 2 results from an estimated 2 matches for "howtogeneratexml".
2005 Dec 15
11
CGI Module in Rails
I''m trying to use the CGI module to generate the html in a view but am
having trouble. My controller looks like:
class MyTestController < ApplicationController
def cgitest
require ''cgi''
@cgi=CGI.new("html3")
end
end
My cgitest.rhtml view document simply has:
<%= @cgi.out{@cgi.html{@cgi.head{}}} %>
Loading MyTest/cgitest, Rails tells me that
2006 Nov 04
6
Ruby/XSLT
Anybody got any experience using this ( http://greg.rubyfr.net/pub/packages/ruby-xslt/files/README.html ) ? I asked my hosting company (a2hosting.com) about XSLT processors for Rails and mentioned this one. Four hours later I get email that they''ve installed it. Thing is, the documentation didn''t generate, and when I execute ''gem list --local'' it''s