simple question XD
<city name="Auckland">
<min>11</min>
<max>19</max>
<type>showers</type>
</city>
I am using Min: <xsl:value-of select="min"/><sup>o</sup>C<br /> to get min, but dont know how to get "Auckland" !?
[305 byte] By [
yostoki] at [2007-11-11 8:49:27]

# 1 Re: simple question XD
I believe the string in the select attribute is an xpath, so you should be able to do it with the @.
<xsl:value-of select="@name" />
Not positive about this, but if your current element is the city element, it should work. For more information on XPath, take a look at http://www.w3schools.com/xpath/xpath_axes.asp
Hope this helps.
evlich at 2007-11-11 23:28:35 >
