Weather.com XML Data Feed?

  • Thread starter Thread starter Carlos Albert
  • Start date Start date
C

Carlos Albert

Hello everybody

Did anybody use the weather.com xml data feed? Cause I'm stuck and don't
know how to use it, or how is SHOULD be used under ASP.NET 2.0 / VS2005.

Tnx!
 
Hello everybody

Did anybody use the weather.com xml data feed? Cause I'm stuck and don't
know how to use it, or how is SHOULD be used under ASP.NET 2.0 / VS2005.


You can parse it using the Standard XML classes.

Or even better - NOAA offers weather in SOAP XML. This will allow you to
retrieve weather via a webservice (just like a function call):

http://www.weather.gov/xml/
 
You can parse it using the Standard XML classes.

Don't you happen yo have any link with info about this? Cause I'm not to
used to work with XML outside SQL datasets, and I'm stuck at this.
Or even better - NOAA offers weather in SOAP XML. This will allow you to
retrieve weather via a webservice (just like a function call):

Would be really great, but only covers USA, you know? =)
 
Carlos Albert wrote:

Did anybody use the weather.com xml data feed?

Do you have a URL so that we can look at an example feed?
Cause I'm stuck and don't
know how to use it, or how is SHOULD be used under ASP.NET 2.0 / VS2005.

Well what exactly do you want to do with the feed? ASP.NET 2.0 has
XmlDataSource
<http://msdn2.microsoft.com/en-us/library/e8d8587a(en-US,VS.80).aspx>
to bind XML data to .NET 2.0 data-bound controls like an asp:TreeView or
asp:Repeater.
 
Don't you happen yo have any link with info about this? Cause I'm not to
used to work with XML outside SQL datasets, and I'm stuck at this.


There are a gazillion XML tutorials online... You can use either an
XMLReader or XMLDocument to parse the document.

Check out these articles for more info (or google for millions more):

http://www.developer.com/net/cplus/article.php/3504981
http://www.codeproject.com/vb/net/parsefilecode.asp
http://www.codersource.net/csharp_xml_file_operations.html
 
Tnx everybody.

Seems I was not stuck with the XMLdocument, it was a problem with the
download function I was using. ^^

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top