cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kane <k...@freebsd-uk.eu.org>
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"/>
</xsl:template>

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>
></town>
>
>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: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org

                    致
礼!

            Kane
            kane@freebsd-uk.eu.org


Mime
View raw message