
December 15th, 2003, 09:14 AM
|
|
Contributing User
|
|
Join Date: Mar 2003
Posts: 48
Time spent in forums: 6 m 4 sec
Reputation Power: 6
|
|
|
Preserving entities in MSXML2.DOMDocument
Hi
My VB program accesses a XML document that has general entity references (like — etc....) and populates the appropriate fields in the Access Database.
fRAGMENT OF MY CODE...
---------------------------------------------------------
Dim objXMLDOM As New MSXML2.DOMDocument
objXMLDOM.Load(filePath)
---------------------------------------------------------
The problem is that, the DEFAULT implementation of the parser EXPANDS the entity references, which is what I DO NOT want.
Is there any way to tell the parser NOT to expand entities?
Any help is grately appreciated!
Thanks a lot.
-Srivalli.
|