Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to extract blob from an XML file?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
How to extract blob from an XML file?
Miscellaneous
Thread ID:
01687995
Message ID:
01687995
Views:
31
Hi,

I am re-writing the original post since I know now what causes the problem. I do not know yet how to resolve it.

Original Approach.
The XML file had a value (enrypted value) stored.
The program was converting the content of the XML file into the cursor. The column which contained the enrypted value, was set to type W (blob).
Then the program applied the function CIpher() to the cursor blob column. And the result was what I was looking for. It worked.

New approach.
The encryped value from the XML is retrieved from the XML file using STREXTRACT().
Then the function Cipher applied to the extracted value. The result was Bad. Not equal (and not what I expected) to the Original Approach (above).

So, I need to learn how to extract the encrypted string from the XML file but in such way that it would become a BLOB. Then, Cipher() will probably (most likely) work.

Any suggestions?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform