[Home] [By Thread] [By Date] [Recent Entries]
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!
|

Cart



