Hi Guys,
Thanks Paul for your reply.
The problem is that i am not the owner of the XML file.
The xml files are created by the customers of our application.
What about the XML files that are existing and running since inception.
I cannot change all this data.
The attribute is declared in the DTD. I am actually doing two transformations.The first time i am not getting any errors. The transformed Document object, i am transforming again, and this time the problem arises.
I do not totally understand why the problem does not arise the first time time and but only the second time.
The xsl looks alike, the DocumentBuilderFactory,DocumentBuilder,Transformer etc. object creation code are identical.
Have a nice day!
Regards
Subha.