I’m trying to make an XML document with MSDom - so far so good! But I want to be able to “save a document in the XML” - the document could be a pdf or Tiff for example…I have a certain idea, that I should use the stream-datatypes, but how exactly do I do this??
I can’t give you a quick answer, maybe some ideas:
I was dealing with the same thing here, adding files in xml. With M$ XML dom it’s probably possible, but I don’t know how :). So I looked for a C# component: CDATA node in an XML document, encode files with base64 then add them to the CDATA node, see links for more info…
I hope it helps you…