Changing DOCTYPE using DOM - MSXML parser 3.0
Posted on 2001-07-24
Windows NT/2000 server/workstation, Visual Basic 6.0, MSXML parser 3.0
I need to change the DTD reference on an XML file. I need to do this programmatically using MSXML 3.0.
I tried making use of the doctype property of DOMDocument. But it's read only and I can't change and write the new DTD.
Since I am adding more data to an XML file, I also need to change the DOCTYPE reference to a new DTD file, which I am not able to do.
Any help is appreciated.