Thanks for the reply. I am having a little bug (or let's say a problem) what I did is:
<xsl:template name="Datum" match="/@Wochentag">
<Wochentag>
<xsl:if test="@Wochentag=$datum1"><xsl:value-of select="$day1"/></xsl:if>
<xsl:if test="@Wochentag=$datum2"><xsl:value-of select="$day2"/></xsl:if>
<xsl:if test="@Wochentag=$datum3"><xsl:value-of select="$day3"/></xsl:if>
<xsl:if test="@Wochentag=$datum4"><xsl:value-of select="$day4"/> </xsl:if>
<xsl:if test="@Wochentag=$datum5"><xsl:value-of select="$day5"/></xsl:if>
<xsl:if test="@Wochentag=$datum6"><xsl:value-of select="$day6"/></xsl:if>
<xsl:if test="@Wochentag=$datum7"><xsl:value-of select="$day7"/></xsl:if>
</Wochentag>
</xsl:template>
---------
<xsl:template match="/">
<xsl:call-template name="Datum"/>
<div id="epoPage"><div id="epoHomeContent">
<div id="epoWeatherTab">
<div class="epoWeatherBorderLeft"> <a href="javascript:City('1','10866')"><xsl:if test="$wmo = '10866'"><xsl:attribute name="class" >aktive</xsl:attribute></xsl:if>Munich</a></div>
<div class="epoWeatherBorderLeft"> <a href="javascript:City('1', '11034')"><xsl:if test="$wmo = '11034'"><xsl:attribute name="class" >aktive</xsl:attribute></xsl:if>Vienna </a></div>
<div class="epoWeatherBorderLeft"> <a href="javascript:City('1', '06211')"><xsl:if test="$wmo = '06211'"><xsl:attribute name="class" >aktive</xsl:attribute></xsl:if>The Hague</a></div>
<div class="epoWeatherBorderLeft"> <a href="javascript:City('1', '10384')"><xsl:if test="$wmo = '10384'"><xsl:attribute name="class" >aktive</xsl:attribute></xsl:if>Berlin</a></div></div>
<div id="epoWeatherContent">
<xsl:for-each select="WETTERONLINE/prognosen/dreitage[@wmo = $wmo]">
<xsl:for-each select="Tag[@Nummer = $day]">
<tr>
<td height="18" colspan="2" align="left" valign="top"><strong>
<xsl:value-of select="@Wochentag"/>
So I have 4 cities and when I call this XSL file I am still seeing the date expressions in german but when I switch between the cities then I can see the date values in english. How can I correct this?
Your attitude determines your altitude
|