Range.InsertXML (Word)

Insère les données XML spécifiées dans le document sur la plage spécifiée, en remplaçant le texte de la plage.

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

Un argument nommé

XML (String) - Spécifie les données XML à insérer.

Optional arguments

Les arguments suivants sont facultatifs

Transform (String) - Spécifie les données XSLT (XML Transformation) utilisées pour transformer les données XML.