Desmond D'Souza wrote:
> I have an XML file with tags of this form:
>
> <IMAGE href="...." />
>
> What css or other setup do I need to have the images show up in XEE ?
XHTML example (<XXE_install_dir>/config/xhtml/css/xhtml.css):
---
/*
* Showing a 400x200 thumbnail is sufficient.
* If you don't like that, replace the content property
* by a more traditional:
* content: image(attr(src), attr(width), attr(height));
*/
img {
display: inline;
content: image(attr(src), -400, -200);
}
---
More info. in
http://www.xmlmind.com/xmleditor/_distrib/docs/poweruser/ar01s06s02.html#image
Note that as of V2.5, XXE can only display images in the GIF, JPEG or
PNG formats. Other formats will be displayed as the ``image placeholder
icon''.
Note that having the image placeholder icon is not an error or a big
problem because, even if XXE cannot display the image, may be the XSL-FO
processor used to translate XML to other formats such as PDF or RTF can
properly render the image.