Thank You! You are a life saver! you have helped me more than I can tell you. (No, seriously, I'm not allowed to tell you.) But this will make my life so much easier. It's nice to have all the dependancies extracted from the PDF. I can now reconstuct Gears back into XML, which was it's original format.
Thanks again.