I have an xmi file i want to add one more attribute to it.

I used dom parser created one attribute .
Is not getting inserted in my xmi file