Queridos amigos, una consulta..
Hay alguna forma sencilla de pasar un archivo XML a un array bidimencional?
Gracias desde ya.
// Simple example for a generic XML reader
#include "FiveWin.ch"
function Main()
local hFile := FOpen( "test.xml" )
Local oXmlDoc := TXmlDocument():New( hFile )
Local oXmlIter := TXmlIterator():New( oXmlDoc:oRoot ), oTagActual
while .T.
oTagActual = oXmlIter:Next()
If oTagActual != nil
MsgInfo( oTagActual:cName, oTagActual:cData )
HEval( oTagActual:aAttributes, { | cKey, cValue | MsgInfo( cKey, cValue ) } )
Else
Exit
Endif
End
FClose( hFile )
return nil
jose_murugosa wrote:Gracias por vuestra ayuda, objetivo cumplido.
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 36 guests