This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Embed PDF document into XML file

Hello,

Is there a way to embed a pdf document (Base64) into a XML file?

Something like this.

<cbc:EmbeddedDocumentBinaryObject filename="Factuur.pdf " mimeCode="application/pdf">JVBERi0xLjcNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2........

André Oostendorp

Parents Reply Children
  • 0 in reply to 

    Hello,

    I got this working.

    First I create the XML using C$XML.

    I found a command line utiliy called Base64 to create the base64 string from the PDF file.

    After that I recreate the XML file and incorporate the base64 string (and the necessaryXML tags) into the XML.