Share via


XML Property (Word)

Returns a String that represents the text, with or without XML markup, that is contained within an XML node. Read-only.

Syntax

expression .XML(DataOnly)

expression An expression that returns an XMLNode object.

Parameters

Name

Required/Optional

Data Type

Description

DataOnly

Optional

Boolean

Specifies whether to return the XML with or without markup. True returns the text contained within the XML node without XML markup. False returns the text with XML markup.

See Also

Concepts

XMLNode Object

XMLNode Object Members