Edit

Share via


XMLNode.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

XMLNode Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.