From: Peter Szinek Date: 2006-11-24T21:37:26+09:00 Subject: Re: Removing a tag from an xml document Hello, > What i need to do is to strip out the final "" tag from the > file. just do this: input.sub('') {''} Cheers, Peter __ http://www.rubyrailways.com