ExpandCharEntities |
Expands character entities and returns general entities as nodes ( XmlValidatingReader.NodeType =XmlNodeType.EntityReference, XmlValidatingReader.Name =the name of the entity, XmlValidatingReader.HasValue = false). You must call XmlReader.ResolveEntity to see what the general entities expand to. This enables you to optimize entity handling by only expanding the entity the first time it is used. When set to ExpandCharEntities, a reader call to the XmlReader.GetAttribute method expands all entities (both general and character entities). |