I am inquiring about how to display an image with css and xml ... I've been searching all over, google, this forum, faq's ... no one seems to have the answer.
I haven't quite gotten to xslt yet so help on this topic would be greatly appreciated.
XML has a tough time with binary data -- you usually end up storing it as base-64 encoded, and having that display (via a CSS or any other web technology) is difficult (you have to go through real code to do it).
There are two ways to do this:
1) Don't store the image in the XML, store the path to the image.
2) Store the image as base-64 encoded data in the XML, then write code to convert it back into a binary format, and append it to the HTML stream with the correct MIME encoding.
Chip H.
If you want to get the best response to a question, please check out FAQ222-2244 first
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.