Visual Basic - Combinar XML y XSL en VB

Life is soft - evento anual de software empresarial
 
Vista:

Combinar XML y XSL en VB

Publicado por D@vidP (5 intervenciones) el 07/11/2002 13:56:59
Creo un documento XML en un objeto DOM para el XML
Set xmlDoc = CreateObject("MSXML2.DOMDocument")
xmlDoc.async = False
If Not xmlDoc.loadXML(pXML) Then
MsgBox ("ERROR cargando XML:")
Else
'*** Se combina el objeto XML con el XSL
Set ObjXsl = CreateObject("MSXML2.DOMDocument")
ObjXsl.async = False
If Not ObjXsl.Load("myFicheroXsl.xsl") Then
MsgBox ("ERROR cargando XSL:")
Else
MsgBox (xmlDoc.transformNode(ObjXsl))
End If
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder