[Rails] Re: Rails magic for MySQL -> XML file -> MySQL and back
again
Tony Martin
tonypmartin at hotmail.com
Thu Aug 10 21:47:33 GMT 2006
Stef,
thanks for the pointers. Webdav is something I hadnt really encountered,
but yes that is the genereal direction. since I am only looking to generate
some very simple and standard file formats, what I am trying to achieve is
much simpler. The files will also be very small.
I have found that using Builder, creating the xml into a Builder object is
really simple, and it should be possible to write this to a file as a
string.
I have seen reference to Hash.create_from_xml, but cannot get rails to
recognize it. I have also had a quick look at XmlSimple and xml_in may be
all I need, although it seems to fail if the xml tags do not include
attributes. i have had a quick look at LibXML, and it should provide what
I need to read the file so I will pursue that and let you know how it goes.
Thanks again.
Tony
--
View this message in context: http://www.nabble.com/Rails-magic-for-MySQL--%3E-XML-file--%3E-MySQL-and-back-again----tf1522315.html#a5753166
Sent from the RubyOnRails Users forum at Nabble.com.
More information about the Rails
mailing list