Well it is odd, if I put the code in the main view it shows up.

On Apr 19, 5:34 pm, Frederick Cheung <[email protected]>
wrote:
> 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 
> athttp://groups.google.com/group/rubyonrails-talk?hl=en.

-- 
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