cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: IMAGE problem
Date Tue, 17 Oct 2000 21:28:05 GMT
marco <> wrote:
>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:
><xsl:for-each select="child::Segno[Zodiaco/text()=$segnou]">
><img alt="immagine" >
>  <xsp:attribute name="src"><xsp:expr><xsl:value-of
>  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 .

You don't need to use XSP. You can just do, in xsl:

<img src="{./Image/@immagine}"/>

Get Your Private, Free E-mail from MSN Hotmail at

Share information about yourself, create your own public profile at

View raw message