Displaying 1 result from an estimated 1 matches for "cust_xml_string".
2009 Mar 16
0
Reading XML-file + saving to sqlite3 database
.../- 20 XML files, and I would like
to import them to my sqlite3 database. Each XML-file having it''s own
table.
Now I think I need to read the xml-files first and process them later.
I''ve done some research and found REXML, but I can''t get it working
correctly.
With "@cust_xml_string = File.read("CUST.xml")", and debug
(@cust_xml_string) i''ve been able to show the content of the xml on
the screen.
I''ve also been using ''Hash.create_from_xml'', but then I get the
following error: ''undefined method `create_from_xml'&...