Link to home
Start Free TrialLog in
Avatar of junebrown
junebrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Extracting an ZIP Attachment from an XML File.

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,

ASKER CERTIFIED SOLUTION
Avatar of Eddie Shipman
Eddie Shipman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of junebrown

ASKER

I will try this and get back to you
So, it worked for you, then?