Source.XML property (Word)

Returns a String that represents the XML markup for a Source object. Read-only.

Syntax

expression.XML

expression An expression that returns a Source object.

Remarks

The Data parameter of the Add method for the Sources object requires a valid XML string that contains data for the necessary elements. Depending on the type of source that you add, the XML may change. To determine what the correct XML needs to be for a specific type of source, create a source through the Create Source dialog box, and then use the XML property to return the correct XML syntax.

See also

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