cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Annik Schoenmann" <an...@idbsoft.ch>
Subject Re: Picture path problem
Date Tue, 19 Dec 2000 08:36:49 GMT
Thanks 
Regards,
Annik

----- Original Message ----- 
From: "Tiberiu DONDERA" <tibidondera@hotmail.com>
To: <cocoon-users@xml.apache.org>
Sent: Monday, December 18, 2000 8:28 PM
Subject: Re: Picture path problem


> in the xsl use instead of
> > <img src="GrandParagraphe[@id=1]/cheminimage">
> 
> <img>
>   <xsl:attribute name="src"><xsl:value-of
> select="GrandParagraphe[@id=1]/cheminimage"/></xsl:attribute>
> </img>
> 
> That should do it...
> 
> Regards,
> Tiberiu Dondera
> 
> ----- Original Message -----
> From: Annik Schoenmann <annik@idbsoft.ch>
> To: <cocoon-users@xml.apache.org>
> Sent: Monday, December 18, 2000 7:57 PM
> Subject: Picture path problem
> 
> 
> > Hi all
> > I have to print out a picture and actually the"path doen't fonction.
> > I try a lot of solution but nothing work can I have some help!
> >
> >
> > ---my XML
> > <GrandParagraphe id="2">
> >        <cheminimage>/nit/images/Shop 2-test2/africa.gif
> >        </cheminimage>
> >
> >  </GrandParagraphe>
> >
> >
> > ---my XSL
> > <div align="center">
> >       <xsl:variable name="id"
> > select="GrandParagraphe[@id=1]/paragraph/picturesid"/>
> >      <xsl:choose>
> >        <xsl:when test='$id != 0'>
> >          <div align="center"> <td>
> >             <img src="GrandParagraphe[@id=1]/cheminimage"/>
> >         </div>
> >      </xsl:when>
> >      <xsl:otherwise>
> >             .......
> >
> > ---the actual Result
> > <img src="GrandParagraphe[@id=1]/cheminimage">
> >
> > ---I need
> >  <img src="/nit/images/Shop 2-test2/africa.gif">
> >
> >
> >
> > Thanks
> > Annik
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 


Mime
View raw message