Sure thing, I did it for fun before sending my post, although I used the AddTableSchema using the resulting cursor.
But that's not the question being asked, the question is, being the XMLAdapter newer and powerful, how is that it can't handle that document?
Or even better, how to make it work with the XMLAdapter?
>Well, if XMLTOCURSOR works, then you should be able to work backwards, i.e. do a CURSORTOXML then load that into the XmlAdapter.
>
>
>XMLTOCURSOR('file1.xml', 'file1', 512)
>CURSORTOXML("file1", "file2.xml", 2, 512, 0, "1")
>loXml = CREATEOBJECT("XMLADAPTER")
>loXml.LoadXml('file2.xml',.t.,.f.)
>
...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....
...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
Ismael Rivera "Oye cosita linda"
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement