Albert,
thank you for wonderfur function of url decoding. This works.
However, it seems that your function requires IE 5.5 / 6 to be
installed. I install my application in a compuer where IE
nor WSH are is not present.
What to do in this case ?
I use the following JScript code to post XML data from IE:
<xml id="DocHead"> ..... </xml>
<form name=frmdoc method="post" target=""
<input type="hidden" name="HeaderData">
</form>
// in save button onclick() event:
document.frmdoc.HeaderData.value = DocHead.documentElement.xml;
document.frmdoc.action='Save'
document.frmdoc.submit();
My problem in that IE automatically URLEncodes a HeaderData
before sending it. Since HeaderData is a XML string, a lot of
characters get encoded.
I have no idea how to send it in other way.
>Of course, we haven't gotten around to discussing the appropriateness of URL encoding for the data. His strings seem much larger than what URL encoding is intended for and if there are are a high proportion of encoded characters, Base64 encoding will give shorter strings. Zlib compression before Base64 encoding may help even more.
http://fox.wikis.com/wc.dll?Wiki~FoxCrypto~VFP>Hopefully, Andrus' DNS is not improperly caching my old IP address.
>
>>Andrus,
>>
>>That code Albert posted with the API call is going to be the fastest possible code that will accomplish the task.
>>
>>>David, thank you for assistance.
Andrus