XMLSchemaReferences.IgnoreMixedContent Property

Returns a Boolean that represents whether Microsoft Word performs validation on text nodes that have element siblings and specifies whether these text nodes are saved in XML when the XMLSaveDataOnly property is True.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property IgnoreMixedContent As Boolean
    Get
    Set
'Usage
Dim instance As XMLSchemaReferences
Dim value As Boolean

value = instance.IgnoreMixedContent

instance.IgnoreMixedContent = value
bool IgnoreMixedContent { get; set; }

Property Value

Type: System.Boolean

Remarks

True causes Word to ignore schema violations caused by text nodes that have element siblings; it also prevents these text nodes from being saved in XML when the XMLSaveDataOnly property is True, which helps to prevent text that was inserted by an Extensible Stylesheet Language Transformation (XLST) from being saved as part of the data. False raises validation errors on text nodes with element siblings.

See Also

Reference

XMLSchemaReferences Interface

XMLSchemaReferences Members

Microsoft.Office.Interop.Word Namespace