XML Property

Microsoft Word Visual Basic

XML Property

       

Returns a String that represents the related XML for a smart tag. Read-only.

expression.XML

expression   Required. An expression that returns a SmartTag object.

Example

This example displays the XML information for the first smart tag in the active document.  This example assumes that the active document contains at least one smart tag.

Sub SmartTagXml()
    MsgBox "The XML information for this smart tag is : " & _
        ActiveDocument.SmartTags(1).XML
End Sub