I have got to convert a PDF to a Base64 Encoded and write it to a element in a XML file.
I have got the Base64 Encoded string (very long/big) but the spec im working from says the following:
This has been chosen, to ensure the XML file may be displayed and validated without any potential
problems caused by the handling of the raw binary composition of the original JPEG file. The file data should display
correctly in an XML compliant browser, such as Internet Explorer. The data must be presented in fixed 76 character rows, each row separated with a line break.
First question is about the bit about the JPEG is that valid if i using pdf?
Secondly not sure how to achive this: The data must be presented in fixed 76 character rows, each row separated with a line break.
How can i achive this with Linq to XML