Josep Riudavets wrote:

Ok  ... it seems that does not recognize "jpg" images ... I have had to
transform the jpg image into a gif image, and now it works properly

Thanks all for your help !

I'd guess you are serving the images through cocoon and have a matcher set up for gifs and not jpg, or some other misconfiguration like this. I can think of nothing about cocoon, xslt, browsers, etc. which would lead to what you report apart from something like this.


Geoff

----- Original Message -----
From: "Carmona Perez, David" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 02, 2003 11:38 AM
Subject: RE: Insert an image



Its as easy as:

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
               version='1.0'
               exclude-result-prefixes="#default">
<xsl:template match="/">
<html>
<img src="myImage.gif"/>
</html>
</xsl:template>
</xsl:stylesheet>


-------- David

-----Mensaje original-----
De: Josep Riudavets [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 01 de diciembre de 2003 17:37
Para: [EMAIL PROTECTED]
Asunto: Re: Insert an image

And ... what about the source? Could you post it?

David ... I need the code in order to insert it into an XSL page, because
the image is part of a web page ...
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 01, 2003 5:20 PM
Subject: Re: Insert an image



for example


... <td class=" vAlign="top" align="left"> <IMG> <xsl:attribute name="src"><xsl:value-of select="@img"/></xsl:attribute> </IMG> </td> ...



-- stavros
On Mon, 1 Dec 2003, Josep Riudavets wrote:


Hi all ...

How can I do for inserting an image into an XSL stylesheet???

Thanks all



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to