← Prev in month ← Prev in thread

ASP & XML?

From
Marc Pidoux <>
To
Date
2005-10-05T11:45:38Z
ID
<>
Thread
ASP & XML?
Simple question but few troubles understanding the concept behind it... 
sorry.

On my XSL document, I am trying to generate dynamic path to differant 
images through a loop, basically by mixing html/asp with xml.

I am trying to do this, but it doesn't work of course:

<xsl:for-each select="rss/channel/item/yweather:forecast">
<xsl:value-of select="@day"/>:
<img src="/img/<xsl:value-of select='@code'/>.gif>
</xsl:for-each>

I want at the end to end up with something like:
Monday: <img src="/img/good.gif" />
Tuesday: <img src="/img/fair.gif" />

etc...

Thanks!
← Prev in month ← Prev in thread