[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How Display Tiff Image in IE through XSL

Subject: Re: How Display Tiff Image in IE through XSL
From: Manuel Strehl <manuel.strehl@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Dec 2006 08:32:53 +0100
ie xsl img
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.