Hassan Schroeder wrote in post #1146285: > On Fri, May 16, 2014 at 4:10 AM, Sayth Renshaw <[email protected]> > wrote: > >> what format and what requirements and tools do I need to acheive this? > All you really need is Nokogiri for dealing with the XML. You can use > http://ruby-doc.org/stdlib-2.1.1/libdoc/open-uri/rdoc/OpenURI.html to > fetch the file. > > Do you want to just store the raw XML, or use the data in it to create > model objects to persist? If you want "consistent and reliable" the > latter may be best since you can use validations on your imported > data. > > Good luck, > -- > Hassan Schroeder ------------------------ [email protected] > http://about.me/hassanschroeder > twitter: @hassan
Yes I want to create model objects to persist. I will have other objects for user input. So I create a DOM to map to the database objects I want to be updating via the XML? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/975b76c75056f00f929231f5b01627ff%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

