NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

EntityHandling Enumeration

Specifies how entities are handled.

[Visual Basic]
Public Enum EntityHandling
[C#]
public enum EntityHandling
[C++]
public enum EntityHandling

[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.

Members

Member Name Description
AllEntityNodes Return all built-in, character, and general entity references as nodes.
ExpandCharEntities Expand character entities and return general entities as nodes (NodeType=XmlNodeType.EntityReference, Name=the name of the entity, HasValue= false).

You must call ResolveEntity to see what the general entities expand to. This allows you to optimize entity handling by only expanding the entity the first time it is used.

ExpandEntities Expand all entities. This is the default.

Nodes of NodeType EntityReference are not returned. The entity text is expanded in place of the entity references.

IgnoreEntities Ignore character and general entites.

Nodes of NodeType EntityReference are not returned. Entities are returned embedded in the text, for example, "this & that".

Requirements

Namespace: System.NewXml

Assembly: System.Xml.dll

See Also

System.NewXml Namespace