Range.InsertXML (Word)

Fügt die angegebene XML-Zeichenfolge im angegebenen Bereich in das Dokument ein und ersetzt dabei den in dem Bereich enthaltenen Text.

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

Ein benanntes Argument

XML (String) - Gibt die einzufügende XML-Zeichenfolge an.

Optional arguments

Das folgendes Argument ist optional

Transform (String) - Gibt die XML-Transformation (XSLT) an, mit der die XML-Zeichenfolge transformiert wird.