On Apr 19, 11:31 pm, Me <[email protected]> wrote:
> 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.

Sounds like it's just the way your browser is choosing to display the
xml.

Fred

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to