XmlTextReader.DtdProcessing XmlTextReader.DtdProcessing XmlTextReader.DtdProcessing XmlTextReader.DtdProcessing Property

Definición

Obtiene o establece la enumeración DtdProcessing.Gets or sets the DtdProcessing enumeration.

public:
 property System::Xml::DtdProcessing DtdProcessing { System::Xml::DtdProcessing get(); void set(System::Xml::DtdProcessing value); };
public System.Xml.DtdProcessing DtdProcessing { get; set; }
member this.DtdProcessing : System.Xml.DtdProcessing with get, set
Public Property DtdProcessing As DtdProcessing

Valor de propiedad

Comentarios

La DtdProcessing enumeración contiene Prohibitlos Ignoreenumeradores Parse , y.The DtdProcessing enumeration contains the Prohibit, Ignore, and Parse enumerators. Parsees el comportamiento predeterminado.Parse is the default behavior. La DtdProcessing propiedad reemplaza la ProhibitDTD propiedad y agrega la capacidad de omitir el elemento DOCTYPE.The DtdProcessing property replaces the ProhibitDTD property and adds the ability to ignore the DOCTYPE element.

Importante

Si la DtdProcessing propiedad se establece en DtdProcessing.Ignore, el XmlTextReader no notificará las DTD.If the DtdProcessing property is set to DtdProcessing.Ignore, the XmlTextReader will not report the DTDs. Esto significa que la DTD/DOCTYPE se perderá en la salida.This means that the DTD/DOCTYPE will be lost on output.

Se aplica a