Maybe posting in the correct forum will help, as well as giving useful details ?
Please mark this question as answered and post again in the XML DB forum.
Visit the XML DB FAQ thread there and give us more details such as :
Short answer : you don't want to use DOM in this case.
Please help. Its urgent.
No it's not. And it's very rude of you to assume so.
In answer to your question, I agree with Odie, you don't want to be using XML DOM for this. See Mark Drake's (mdrake) answers on this thread over in the XMLDB forum...