cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kane <>
Subject Re: Dynamic image loading
Date Thu, 09 Nov 2000 07:15:10 GMT
Steve Holden:

<xsl:template match="town">
  The id is <xsl:value-of select="@id"/>
  the title is <xsl:value-of select="title"/>
  the image is <img src="../dir/{dy}.gif" border="0"/>

Hope above can help you.

在 2000-11-8 9:32:00 您写道:
>Hi, I was wondering if someone could point me in the direction of using a
>value inside a tag to qualify a path to an image. Here's an example:
><town id=0001>
>    <title>hello everyone</title>
>    <dy>4</dy>
>So take a XSL stylesheet with the following:
><img src="../dir/<valueof dy tag>.gif" border="0">
>You get the idea, i want the value of dy to add itself to the img tag as to
>create a dynamic graphic loading sequence.
>Any ideas....
>Steve holden
>To unsubscribe, e-mail:
>For additional commands, e-mail:



View raw message