Selection.XML Property

Word Developer Reference

Returns a String that represents the XML text in the specified object. .

Syntax

expression.XML(DataOnly)

expression   An expression that returns a Selection object.

Parameters

Name Required/Optional Data Type Description
DataOnly Optional Boolean True returns the text of the XML without the Word XML markup. The default setting is False.

See Also