I have created a page that is using RSS to pull weather information. The XSL file has a line:
<xsl:value-of select="current_observation/wind_string"/>
Within the returned results for that node the text will start with <b>From the...Northwest, Northeast, Southwest, Southeast</b>
I would like to be able to manipulate this and have it simply say NW,NE,SW,SE accordingly. Can anyone point me in the right direction?
Many thanks,
Mark
<xsl:value-of select="current_observation/wind_string"/>
Within the returned results for that node the text will start with <b>From the...Northwest, Northeast, Southwest, Southeast</b>
I would like to be able to manipulate this and have it simply say NW,NE,SW,SE accordingly. Can anyone point me in the right direction?
Many thanks,
Mark