xsl-list
[Top] [All Lists]

Re: [xsl] How Display Tiff Image in IE through XSL

2006-12-29 00:33:07
Hi.

Relying just on XSLT, you must provide a different image format like GIF, JPG or PNG. Then you can modify your stylesheet, so that it points to the alternative image:

<xsl:value-of select="concat( @picfile, '.jpg' )" />

This produces HTML like <img src="fig01.jpg" />.
You can alternatively modify an .htaccess file to point to the JPG image instead of the TIFF, if your problem involves delivery from an Apache Webserver:
<http://httpd.apache.org/docs/2.2/misc/rewriteguide.html>

Best
Manuel

Byomokesh schrieb:
Hi All,

I am doing XML -> HTML view through XSL. I have a tiff files. But my
problem is tiff image not display in IE Explorer. I am using IE 6. I
know, IE is not support for tiff image. If I want view the tiff files,
then what can I do.

Input XML
---------

<graphic picfile="fig01">

My XSL--

<xsl:template match="graphic">
<img><xsl:attribute name="src">
<xsl:value-of select="@picfile"/>
</xsl:attribute></img>
</xsl:template>


Any advice.........

Thanks and Regards,
Byomkesh


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>