If I form and/or build up xml in a model or controller and assign it to a var how do I get a page to display the xml?
No I am doing this:
def assert_xml_message(type,msg)
x = gen_basic_xml
x.response do
x.tag!(type) do
x.message msg
end
end
end
x is a var with xml.
Make x variable class attribute by naming it @x and use next code in your View : <%= @x %>
Sorry, i mean object attribute.