<ka****@kodak.com> wrote in message news:bl**********@news.kodak.com
I suppose it's a frequent post, but I would like to include a binary
data (iomage in fact) into xml files (generated by our application).
Custiomer does not want the image to be an external files
I'm using xerces c++ toolkit, I know there are some usefull classes to
achieve that, but I've no sample code at all !
I suppose you want to transform your XML to HTML in some way or other.
Given you can process your XML file with ASP (just for example):
You cold encode your Image bytewise, maybe as a comma separated list of
bytes and put that into your XML. Then you can create an array of bytes
from that in ASP and implemet a function that puts these bytes into the
output stream on request (e.g. <img src="img.asp&image=img1"/>)
I don't think there is a way to put the image source into the XML and
transform that directly into HTML _with_ the image visible.
Martin