共用方式為


disableOutputEscaping Property

 

Matches the disable-output-escaping attribute of the <xsl:text> and <xsl:value-of> elements. For example, normally escaped built-in entities such as "&" for "&" are passed through literally.

Visual Basic Implementation Syntax

Property Let IMXWriter_disableOutputEscaping(ByVal RHS As Boolean)  
Property Get IMXWriter_disableOutputEscaping() As Boolean  

Visual Basic Usage Syntax

oMXXMLWriter.disableOutputEscaping = boolValue  
boolValue = oMXXMLWriter.disableOutputEscaping  

C/C++ Syntax

Syntax  
[propput]  
HRESULT disableOutputEscaping (  
   [in] VARIANT_BOOL fValue);  
  
 [propget]  
HRESULT disableOutputEscaping (  
   [out, retval] VARIANT_BOOL * fValue);  

Parameters

fValue
Boolean.

Return Values

S_OK
The value returned if no errors are reported.

Remarks

Boolean. Read/write. The disableOutputEscaping property has no effect for DOM output.

If this property is set to True, the XML output may not be well-formed or valid. The disableOutputEscaping property has no effect for DOM output.

The XSLProcessor object does not implement the disableOutputEscaping property.

Value Description
True Writer cannot escape input when writing output.
False (default) Writer should escape input when writing output.

Versioning

Implemented in: MSXML 3.0 and later

Applies to

IMXWriter Interface

See Also

MXHTMLWriter CoClass
MXXMLWriter CoClass