disableOutputEscaping Property
Turns disableOutputEscaping
on or off. When disableOutputEscaping
is set to True, special symbols such as "&" are passed through literally. When disableOutputEscaping
is set to False, special symbols (also known as built-in entities) such as & are escaped to &.
Usage Syntax
oMXXMLWriter.disableOutputEscaping = boolValue boolValue = oMXXMLWriter.disableOutputEscaping
Remarks
Read/write. The default value is False. When you try to output a special character such as "<" or "&", the special character will be escaped in the output file using the standard XML escaping mechanism. For example, by default, the MXXMLWriter
writes the "&" symbol as "&" unless disableOutputEscaping
is set to True. If disableOutputEscaping
is set to True, MXXMLWriter
does not escape the special symbol and writes the "&" symbol as the literal "&".
Syntax
[propput] HRESULT disableOutputEscaping ( [in] VARIANT_BOOL fValue);
[propget] HRESULT disableOutputEscaping ( [out, retval] VARIANT_BOOL * fValue);
Parameters
- fValue
- A Boolean expression (True/False) specifying whether the feature is on or off.
Return Values
- S_OK
- The value returned if no errors are reported.
Remarks
If this property is set to True, the XML output may not be well-formed or valid.
Value | Description |
---|---|
True | MXXMLWriter does not escape special symbols (passing them through as literals) when writing output. |
False (default) | MXXMLWriter escapes special symbols when writing output. |
To view reference material for Visual Basic or C++ only, click the Language Filter button in the upper-left corner of the page.
See Also
Applies to: MXXMLWriter CoClass