I know I''m calling the controller correctly, I get XML Parsing Error: no element found <controller>.xml;example Line Number 1, Column 1: def example xml = Builder::XmlMarkup.new(:indent=>2) xml.instruct! xml.person return xml respond_to do |format| format.html # index.rhtml format.xml { render :xml => xml } end end --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---