From: Jason Roelofs Date: 2009-03-26T03:24:29+09:00 Subject: Re: Parsing xml Regex is not stateful, thus you can't use it to parse XML. Oh there are ways to hack yourself around some limitations and get some results, but you are going to spend a TON of time making very unreadable Regex that will die at the presense of slightest malformed XML. Your boss obviously has no idea what he's talking about. If anything, use REXML because, as another poster said, it's a part of Ruby and not an external library. If your boss makes these kind of requests often, you should probably go looking for another job, IMO Jason