Range.InsertXML (Word)

Insere o XML especificado no documento no intervalo especificado, substituindo qualquer texto contido neste intervalo.

InsertXML (XML, Transform)


Dim strXML As String 
 
strXML = "<"xml version=""1.0"">" & _ 
 "Matt HinkMigration Paths of the Red " & _ 
 "Breasted Robinnon-fiction" & _ 
 "29.952006-05-01" & _ 
 "You see them in the spring outside your windows. " & _ 
 "You hear their lovely songs wafting in the warm spring air. " & _ 
 "Now follow their path as they migrate to warmer climes in the fall, " & _ 
 "and then back to your back yard in the spring." 
 
ActiveDocument.Paragraphs(5).Range.InsertXML strXML

Arguments

O seguinte argumento é necessário

XML (String) - Especifica o XML a ser inserido. Pode ser qualquer XML personalizado válido.

Optional arguments

The following argument is optional

Transform (String) - Especifica a Transformação em XML (XSLT) utilizada para transformar o XML. Se omitido, o XML será inserido como XML personalizado sem aplicar uma transformação.