H. Grasl wrote:
> 
> We are using the xmlmid to create “rtf documents”  out of a “fo.xsl
> files”. Thereby we have a problem with rendering a picture in the rtf
> format. There is no problem by rendering pictures which are named
> “picutreFileName.png”. But if the picture file has no file extension
> (e.g. the picture file is named just picutreFileName, so without the
> .png file extension) the picture cannot be rendered in the rtf format.
> 
>  
> 
> This causes problems by using picture files from a web server. Because
> the web server doesn’t always delivers the file extension of the picture
> file.
> 
>  
> 
> So my question is: How it is possible to render picture files in rtf
> without file extensions?
> 
>  

When a graphic file has no extension, then specifying XSL-FO attribute
content-type is really required.

Example:

---
<fo:external-graphic src="url(images/foo)" />
---

cannot work.

While:

---
<fo:external-graphic src="url(images/foo)"
content-type="content-type:image/png" />
---

works fine.

Reference:

http://www.w3.org/TR/xsl/#content-type

 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to