From: Peter Bailey Date: 2007-09-20T21:01:42+09:00 Subject: Re: finding string matches, in order, in a file William, So, I found out what my problem was. And, yes, it's kind of embarassing. It turns out that, at the top of my script, which I hadn't looked at in days, I was actually parsing through multiple files, not one file. I was looking at multiple xml files, not just the one. So, I apologize to you. I really appreciate your doggedness in helping me. You have the patience of Job. This forum's generosity astounds me, and, you're a perfect example of why. Cheers, Peter -- Posted via http://www.ruby-forum.com/.