thank you monks for the help, the only thing which i suppose i should have stated earlier, is that i do not have control over the formatting of the xml... i am pulling the xml from an outside source, and i kinda get what they give me... i hope i can apply some of this to that. thanks again.