I am using a partial for an xml page, but the xml.instruct is not
showing up:

Main xml file:

xml.instruct! :xml, :version=>"1.0"

xml << render(:partial => 'success_error', :locals => {:x =>
@x, :p_xml => xml})


Partial:

p_xml.response do
        p_xml.tag!(x[:type]) do
                p_xml.message x[:msg]
        end
end

When I view the page the xml shows up but not the header.  When I
right click and view source then I can see the header info.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to