cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josep Riudavets" <jriudave...@uoc.edu>
Subject Re: Insert an image
Date Tue, 02 Dec 2003 15:22:05 GMT
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 !


----- Original Message -----
From: "Carmona Perez, David" <DPerezCar@fcc.es>
To: <users@cocoon.apache.org>
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:jriudavetsa@uoc.edu]
> Enviado el: lunes, 01 de diciembre de 2003 17:37
> Para: users@cocoon.apache.org
> 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: <gounis@osmosis.gr>
> To: <users@cocoon.apache.org>
> 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: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message