From: rb Date: 2006-12-30T04:50:10+09:00 Subject: Re: XML - converting from one feed to another (beginner) On 29 Dec 2006 11:12:41 -0800, "bill walton" wrote: >Hi rb, > >rb wrote: >> I'm trying to read an XML feed of products and convert them to a >> different XML feed to upload to Froogle (Google Base). >> >> How do I read the lines of XML and then rewrite them in the new XML? >> I've started with rexml, but I'm not sure if I'm on the right track. > >Depending on whether or not you want to make further use of the content >of your XML feed within your Ruby / Rails app (i.e., you actually >*want* the info stored in a database) you might be better off just >doing the transform using XSLT. Thanks... I didn't think of that. I will have to learn XSLT. For now, I have to finish this XML for Google Base by tomorrow so I'm going to try to finish it with Ruby. Might try XSLT next.