Application.ArbitraryXMLSupportAvailable Property

Word Developer Reference

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

Syntax

expression.ArbitraryXMLSupportAvailable

expression   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 or greater and in Office Professional Edition 2003 or greater. 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.

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

See Also