From: Adam Teale Date: 2006-12-06T22:10:41+09:00 Subject: Re: Newbie: working with a text file and converting to xml Ah thanks Peter - yes on OSX - you are right, there is something funny with the line breaks! Weird! now i just have to work out how to add all the FCP xml stuff in there I appreciate l all your help & encouraging words!! Peter Szinek wrote: > Hi, >> >> However it only outputs the first line from my txt file: >> --------------------------------------------------- >> >> 00:00:30:13Swayambhunath Temple: >> building started 460AD >> 00:00:42:21 >> --------------------------------------------------- > Hmm strange. I have cut'n'pasted this code and the data from your > previous mail and > for me it works perfectly (as all other Paul's solutions). Are you sure > your > input txt file is OK? > > Are you on Mac? Maybe there can be something with the line breaks? > >> Apologies for my newbieness! > No need to apologize. In no time, *you* will be answering other's > questions :) > > Peter > > __ > http://www.rubyrailways.com -- Posted via http://www.ruby-forum.com/.