Possible to prevent XmlReader from expanding declared entities?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I need to make a change to the xml and write it back out with the unresolved entities. XmlReader automatically resolves the entities. Is there a way to keep it from resolving entities declared in a DTD? Can this be done with a custom XmlResolver and how
should it be coded?

View the full article
 
Back
Top