Extracting an ZIP Attachment from an XML File.
Posted on 2007-04-06
I am using a TIdDecoderMIME (Delphi7) component to extract the zip attachment from an xml file.
Sometimes when I open the zip file afterwards it has 'garbage at end of file' message
is there a better way of getting an attachment from a <![CDATA[ section of an xml file.
So I dont get this message.
We were taking the text section from the cdata section removing the #10, but there must be a simple more straight forward method,