Share via


Result.PiDisableOutputEscaping Field

Definition

Caution

Use 'Javax.Xml.Transform.IResult.PiDisableOutputEscaping'. This class will be removed in a future release.

The name of the processing instruction that is sent if the result tree disables output escaping.

[Android.Runtime.Register("PI_DISABLE_OUTPUT_ESCAPING")]
[System.Obsolete("Use 'Javax.Xml.Transform.IResult.PiDisableOutputEscaping'. This class will be removed in a future release.")]
public const string PiDisableOutputEscaping;
[<Android.Runtime.Register("PI_DISABLE_OUTPUT_ESCAPING")>]
[<System.Obsolete("Use 'Javax.Xml.Transform.IResult.PiDisableOutputEscaping'. This class will be removed in a future release.")>]
val mutable PiDisableOutputEscaping : string

Field Value

Attributes

Remarks

The name of the processing instruction that is sent if the result tree disables output escaping.

Normally, result tree serialization escapes & and < (and possibly other characters) when outputting text nodes. This ensures that the output is well-formed XML. However, it is sometimes convenient to be able to produce output that is almost, but not quite well-formed XML; for example, the output may include ill-formed sections that will be transformed into well-formed XML by a subsequent non-XML aware process. If a processing instruction is sent with this name, serialization should be output without any escaping.

Result DOM trees may also have PI_DISABLE_OUTPUT_ESCAPING and PI_ENABLE_OUTPUT_ESCAPING inserted into the tree.

Java documentation for javax.xml.transform.Result.PI_DISABLE_OUTPUT_ESCAPING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to