Brooke -
could you attach a sample of the input file and what you're trying to get out of it. It would help to decipher what it is you're trying to get out of it.
also - what's generating the XML input? Do you have any control over it?
----------------------------------------------------------------------------------
Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?