Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML DOM Not Working Right with FileToStr()
Message
From
04/04/2002 11:55:35
 
 
To
04/04/2002 11:33:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00640665
Message ID:
00640944
Views:
41
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform