Progress 4GL- I have to send zip file from memory pointer to XML. Zip file contains NULL character.while storing zip file from memptr to xml node using MEMPTR-TO-NODE, it is eliminating NULL character.So zip file gets corrupted and can't be unzipped. Is there any other approach to do this? TIA.
I would suggest to use base64 encoded binary data using the BASE64-ENCODE function.
h-your-node-ref:LONGCHAR-TO-NODE-VALUE (BASE64-ENCODE (m-your-memptr)).