Hi there,
Hi Everybody, I am facing one problem to validate the xml file. first i load the xml file through XmlDocumentType Class. Before load the Xml file i add the code xmlresolver = null for not validating DTD. Then i get one particular node through getElementBytag name method. After find out the node i have add the attribute fot the node. then i save the xml file in particular path through xmldocumenttype .save() method. After i open the xml file the extra charater that is [] added at end of the DTD. After that i check the xml file through some other check, it throwns a error on special characte [] is added in end of dtd. i dont know when was the special character [] is added in dtd.
i am using C#.Net 2005. All process are done through XMLDocument class.
Please give me the solution.
Thanks In Advance,
Sekar.M
Hi Everybody, I am facing one problem to validate the xml file. first i load the xml file through XmlDocumentType Class. Before load the Xml file i add the code xmlresolver = null for not validating DTD. Then i get one particular node through getElementBytag name method. After find out the node i have add the attribute fot the node. then i save the xml file in particular path through xmldocumenttype .save() method. After i open the xml file the extra charater that is [] added at end of the DTD. After that i check the xml file through some other check, it throwns a error on special characte [] is added in end of dtd. i dont know when was the special character [] is added in dtd.
i am using C#.Net 2005. All process are done through XMLDocument class.
Please give me the solution.
Thanks In Advance,
Sekar.M
Comment