Have you looked at ActiveRecord? Or more specifically
ActiveRecord::XML.
Hope this helps.
On Dec 15, 10:24 am, Mr_Noob
<gniag...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> hi all,
>
> my pseudo speaks for itself :)
> I''ve search on many RoR websites but could not find any easy/
> understable/best way to record the following xml file :
>
> <?xml version="1.0" ?>
> <!--My first XML document -->
> <BankAccount>
> <Number>1234</Number>
> <Name>Darshan Singh</Name>
> <Type>Checking</Type>
> <OpenDate>11/04/1974</OpenDate>
> <Balance>25382.20</Balance>
> </BankAccount>
>
> ...into a mysql db (table = Accounts / columns = id, number, name,
> type, opendate, balance)
>
> thanks a lot in advance for your help
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---