From: Robert Klemme Date: 2013-03-18T21:45:36+09:00 Subject: Re: xml parsing in blocks On Mon, Mar 18, 2013 at 1:15 PM, Aashish Kiran wrote: > Hi, > I was writing a small program as follows, But could not get expected > output. > Can anyone help. Why don't you use Builder? Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/