Hallo Leute,
kein Tag ohne ein Problem :-D Besonders bei XSL...
Also...habe folgenden Code in XML
________________________________________
content:encoded
<h4><a href="http://www.rssweather.com/hw3.php?icao=EDDS"><img src="http://www.rssweather.com/images/fcicons/mcloudy.gif" alt="mostly cloudy" class="icon" width="55" height="58" id="mcloudy.gif" border="0"/></a><span class="sky">Mostly cloudy</span> <span class="temp">18°C</span></h4><dl style="display: inline;">
<dt style="display: inline; font-weight: bold;">Humidity:</dt><dd id="humidity" style="display: inline;">55%</dd>
<dt style="display: inline; font-weight: bold;">Wind Speed:</dt><dd id="windspeed" style="display: inline;">27 KMH</dd>
<dt style="display: inline; font-weight: bold;">Wind Direction:</dt><dd id="winddir" style="display: inline;">SW (230°)</dd>
<dt style="display: inline; font-weight: bold;">Barometer:</dt><dd id="pressure" style="display: inline;"> 1014 mb</dd>
<dt style="display: inline; font-weight: bold;">Dewpoint:</dt><dd id="dewpoint" style="display: inline;">9°C</dd>
<dt style="display: inline; font-weight: bold;">Heat Index:</dt><dd id="heatindex" style="display: inline;">18°C</dd>
<dt style="display: inline; font-weight: bold;">Wind Chill:</dt><dd id="windchill" style="display: inline;">17°C</dd>
<dt style="display: inline; font-weight: bold;">Visibility:</dt><dd id="visibility" style="display: inline;">11 km</dd></dl>
</content:encoded>
__________________________________________
Wie komme ich da nun z.B. an den Wert von "Humidity" ran?
Das klappt irgendwie nicht:
<xsl:value-of select="content:encoded/dl/dd[@id='humidity']"/>
an Content:encoded komme ich ran, kann aber nicht mehr tiefer gehen
Über Antworten würde ich mich freuen,
Gruss, Micha