> It is correct that XML doesnt support binary data. If i manage to
store image inside xml, pls suggest me how can i get the image back on
my web page (possibly using xslt).
.... I think that there is no "direct" way to embedd the image into a web
page after you've decoded it from Base64.
What happens when a browser reads an html file is that it makes an
additional request for every image it finds defined inside the html code -
they're two different files on the web server, and two different http calls
from the browser.
So, I think it's gonna be *difficult* to use xslt or any other medioum and
"embed" the image inside the html.
( of course I'm not an HTTP expert, but I've been working on web sites for
years and have never come across html that contains the full image data
instead of a link to the actual source of the image :? ... )
Of course, nothing prevents you from actually saving the image on the file
system, and just modifying your html link src to point to the right file on
the web server - although that would be A LOT of reading/writing to the disk
and I'd try to avoid it at all costs ...
Angel
O:]