S
StewartS
Hi there, I'm looking to display the Yahoo Weather feed on my website
(http://developer.yahoo.com/weather/). I am using Visual Web Developer
2005.
Everything works fine while parsing normal lines in the feed like this
(on the aspx page):
<aspataList ID="DataList1" runat="server"
DataSourceID="XmlDataSourceEd" Width="523px">
<ItemTemplate>
<%#XPath("title")%><br />
<%#XPath("description")%><br />
<%#XPath("lastBuildDate")%>
</ItemTemplate>
</aspataList>
But how would I get the <yweather> data (with its attributes) to be
displayed, i.e. from the following XML file:
http://xml.weather.yahoo.com/forecastrss?p=UKXX0052&u=c
Using XPath, as above, does not work for <yweather> and I'm not sure
how this is done!
Best Regards,
Stewart.
(http://developer.yahoo.com/weather/). I am using Visual Web Developer
2005.
Everything works fine while parsing normal lines in the feed like this
(on the aspx page):
<aspataList ID="DataList1" runat="server"
DataSourceID="XmlDataSourceEd" Width="523px">
<ItemTemplate>
<%#XPath("title")%><br />
<%#XPath("description")%><br />
<%#XPath("lastBuildDate")%>
</ItemTemplate>
</aspataList>
But how would I get the <yweather> data (with its attributes) to be
displayed, i.e. from the following XML file:
http://xml.weather.yahoo.com/forecastrss?p=UKXX0052&u=c
Using XPath, as above, does not work for <yweather> and I'm not sure
how this is done!
Best Regards,
Stewart.