ArbitraryXMLSupportAvailable Property

Microsoft Word Visual Basic

ArbitraryXMLSupportAvailable Property

Returns a Boolean that represents whether Microsoft Word accepts custom XML schemas. True indicates that Word accepts custom XML schemas.

expression.ArbitraryXMLSupportAvailable

expression    Required. An expression that returns an Application object.

Remarks

Microsoft Office Standard Edition 2003 includes XML support using the Word XML schema, but it does not provide support for custom XML schemas. Support for custom XML schemas is available only in the stand-alone release of Office Word 2003 and in Office Professional Edition 2003. Use the ArbitraryXMLSupportAvailable property to determine which release is installed.

Example

The following code displays a message if the installed version of Word does not support custom XML schemas.

    If Application.ArbitraryXMLSupportAvailable = False Then
    MsgBox "Custom XML schemas are not " & _
    "supported in this version of Microsoft Word."