cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marco <m.spine...@pisa.iol.it>
Subject IMAGE problem
Date Tue, 17 Oct 2000 14:58:23 GMT

How I do with XSP to introduce a Tag (for a Wml page) of the kind: <img
alt="example" src="this is a part which changes "/> ? The Src subject
depends on the research which I do in the Xml file at second of a
parameter which I take. I have tried with:

<IMAGE>
<xsl:for-each select="child::Segno[Zodiaco/text()=$segnou]">
<xsp:logic>
<img alt="immagine" >
 <xsp:attribute name="src"><xsp:expr><xsl:value-of
select="./Image/@immagine"/></xsp:expr></xsp:attribute>
</img>
</xsp:logic>
</xsl:for-each>
</IMAGE>


 My idea is to put the Tag <img>  inside a Tag <IMAGE>  so that then I
can take the Tag "Img" with another Xsl ( with the Tag "Xsl :Value-Of
Select" IMAGE "" ) and insert it in a Wml page .
Please help me.
m.spinetti@pisa.iol.it







Mime
View raw message