XMLSchemaReference Object (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents an individual schema that is attached to a document.

Use the XMLSchemaReference property to return an XMLSchemaReference object for a ChildNodeSuggestion object. The following example inserts the suggested XML child element if the XML schema referenced is the SimpleSample schema.

Dim objSuggestion As XMLChildNodeSuggestion 
For Each objSuggestion In ActiveDocument _ 
 If objSuggestion.XMLSchemaReference = "SimpleSample" Then 
 End If 
Note Note

The SimpleSample schema is included in the Smart Document Software Development Kit (SDK). For more information, refer to the Smart Document SDK on the Microsoft Developer Network (MSDN) Web site.