Convert Byte array to XML
Posted on 2004-08-09
I have created a PDF document using a third party component and I can get the results as a Byte Array. I now need to add this to a xml document to be returned from a webservice. How do I go about this? I have looked at serialization but can't get my head around it!
Is my best method to save the PDF to a file and then read it into the XML of is there another method?
Either way, how is it done?