You can create a validating Xml Reader instance by using the Xml Reader Settings class and the Create method.A networked XML document is comprised of chunks of data aggregated by using various World Wide Web Consortium (W3C) standard inclusion mechanisms and therefore contains nodes that come from different places.Entity handling can be changed at any time during the read process.
The base URI tells you where these nodes came from.
If the Entity Handling property is set to Expand Entities, the Xml Validating Reader expands all entities in the XML document.
Because entity text is expanded, the Xml Node Type of Entity Reference does not appear. If the Entity Handling property is set to Expand Char Entities, the Xml Validating Reader expands the character entities and returns the general entities as Entity Reference node types ().
Value) End If End While Finally If Not (reader Is Nothing) Then reader.
The Entity Handling property defines the way the Xml Validating Reader handles entities.