Selection.InsertXML (Word)
Este método inserta el XML especificado en el documento en el cursor, reemplazando cualquier texto seleccionado.
Dim strXML As String
strXML = "<"xml version=""1.0"">" & _
"Matt Hink Migration Paths of the Red " & _
"Breasted Robin non-fiction " & _
"29.95 2006-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. "
Selection.InsertXML strXML
Arguments
Un argumento con nombre
XML (String) - Especifica el XML que se va a insertar.
Optional arguments
Los siguientes argumentos son opcionales
Transform (String) - Especifica la transformación XML (XSLT) utilizada para transformar el XML.