From: James Britt Date: 2007-01-02T03:42:44+09:00 Subject: Re: XML - converting from one feed to another (beginner) >> >> src_dom/'//item'.each do |el| >> title = (item/'title').text >> title_url = (item/'title_url').text >> # ... >> # Now build the new item element for the target XML >> # and add it to the accumulating content >> end > > Thanks... it's working so far, but I had to use this syntax: > > title = (el/'title').text > Ah, good catch. Bug in my example code. -- James Britt "I have the uncomfortable feeling that others are making a religion out of it, as if the conceptual problems of programming could be solved by a single trick, by a simple form of coding discipline!" - Edsger Dijkstra