Tema: cabecera xml
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/10/2006, 04:47
boha
 
Fecha de Ingreso: octubre-2006
Mensajes: 3
Antigüedad: 17 años, 7 meses
Puntos: 0
Encontré la solución. Para añadir la cabecera <?xml version="1.0" encoding="ISO-8859-1" ?>

Dim oDom As New DOMDocument 'Objeto contenedor
Dim xmlNode As IXMLDOMNode
Dim cabecera As IXMLDOMProcessingInstruction

Set cabecera = oDom.createProcessingInstruction("xml", " version='1.0' encoding='UTF-8'")
Set xmlNode = oDom.appendChild(cabecera)