Link to home
Start Free TrialLog in
Avatar of rp
rpFlag for Portugal

asked on

Insert a pdf file into a xml file

Hi,

Is possible to convert a pdf file to base64 and insert into a xml file?

best regards
Avatar of Bill Prew
Bill Prew

Yes, that should be doable, I have gone the other way for sure, pulling data from XML and then "un" base64-ing it to save as a PDF.  Let me see if I have any code samples.

You want to do this in C# I assume?


»bp
Avatar of rp

ASKER

Hi bill,

C# or Vb.net.

Thanks
Just to make sure I understand, you want to take the full PDF file regardless of content, convert to base64 bytes, and then save into an XML item, yes?

Not actually extracting text values from the PDF, right?


»bp
Avatar of rp

ASKER

Hi Bill,

Yes this is it:
"take the full PDF file regardless of content, convert to base64 bytes, and then save into an XML item"

best regards
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

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