[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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>
Byomokesh schrieb:
Re: [xsl] How Display Tiff Image in IE through XSL
Subject: Re: [xsl] How Display Tiff Image in IE through XSL From: Manuel Strehl <manuel.strehl@xxxxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 29 Dec 2006 08:32:53 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How Display Tiff Image in IE , Byomokesh | Thread | [xsl] FW: How Display Tiff Image in, Byomokesh |
[xsl] How Display Tiff Image in IE , Byomokesh | Date | [xsl] FW: How Display Tiff Image in, Byomokesh |
Month |