Hi,
I'm trying to read this XML(http://www.wunderground.com/auto/rss_full/global/stations/83780.xml units=both )in portuguese is there a way to do that (Web Application)
When I open it in IE I read it in portuguese, but when I query it through .net it returns in english...
Thanks

ds.ReaXml(); in portuguese ???
Dietz
jdevito
But how do I do that
Like this <meta http-equiv="Content-Language" content="pt-br" />
ks2006
John Cogan
I'm using just this...
DataTable dados;
public Forecast(string url_rss){
DataSet ds=
new DataSet();ds.ReadXml(url_rss, XmlReadMode.Auto);
dados=ds.Tables["item"];
}
bilalso
String Url = "http://www.wunderground.com/auto/rss_full/global/stations/83780.xml units=both";
Webbie.Headers.Add("Content-Language", "pt-br"); // I don't know if this is the right header as I didn't packet sniff . but this shows how to set it.
Stream Streams = Webbie.OpenRead(Url);
DataSet Dessie = new DataSet();
Dessie.ReadXml(Streams);
Here is the code. The code "works". I just dont know if it returns the Portugues version you want it
Bwilhite
Jeanvo
Rafet
I'm gonna test it, reply in a while..
Thanks
dgolds
hunft, that code didn't worked it continues to get the data in english..
But it's ok, I'm using replace and tranlating the data...
Thanks anyway