Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML DOM Not Working Right with FileToStr()
Message
De
04/04/2002 11:55:35
 
 
À
04/04/2002 11:33:22
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00640665
Message ID:
00640944
Vues:
43
>Reverse :)

Well, not *quite* the reverse <g> ... I was trying to do the same thing you did, but got a few of the parameters wrong.

Thanks!!

~~Bonnie


>
CREATE CURSOR myCursor (mydata m nocptrans)
>APPEND BLANK
>APPEND memo myData FROM "c:\Windows\media\notify.wav"
>CURSORTOXML('myCursor','it.xml',1,512,0,'1')
>
>XMLTOCURSOR('it.xml','myGetBack',4+512+1024)
>SELECT myGetBack
>STRTOFILE(myGetBack.myData,'new.wav')
>
>PS: Explicitly not wrapped in CDATA section.
>Cetin
>
>>Cool idea, Cetin ...
>>
>>But, now I'm messing around with it trying to figure out how to turn the XML string back into binary. So far, I've not found the right combination of XMLTOCURSOR() and STRTOFILE() parameters ... any quick solution so I don't fiddle around with this all day? <g>
>>
>>~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform