cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gou...@osmosis.gr
Subject Re: Insert an image
Date Mon, 01 Dec 2003 17:24:16 GMT


xml
---
<myElement img="my/path/image.gif">

</myElement>


xsl
---

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


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

> 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


Mime
View raw message