Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6529811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:40:49+00:00 2026-05-25T09:40:49+00:00

<?xml version=1.0 encoding=utf-8?> <soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/> <soap:Body> <TimNhanh_Text_ListNews_OfflineResponse xmlns=http://tempuri.org/> <TimNhanh_Text_ListNews_OfflineResult> <string>string</string> <string>string</string> </TimNhanh_Text_ListNews_OfflineResult>

  • 0
<?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <TimNhanh_Text_ListNews_OfflineResponse xmlns="http://tempuri.org/">
          <TimNhanh_Text_ListNews_OfflineResult>
            <string>string</string>
            <string>string</string>
          </TimNhanh_Text_ListNews_OfflineResult>
        </TimNhanh_Text_ListNews_OfflineResponse>
      </soap:Body>
    </soap:Envelope>

how i can get Node in xml ?

i use :

XDocument dataDoc = XDocument.Load(new StringReader(result));
foreach (var word in dataDoc.Descendants("TimNhanh_Text_ListNews_OfflineResult"))
{ 

}

but this not active.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T09:40:49+00:00Added an answer on May 25, 2026 at 9:40 am
     private void wc1_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
        {
            try
            {
                //http://xml.weather.yahoo.com/forecastrss?p=NOXX0035&u=c
    
                XDocument doc = new XDocument();
                doc = XDocument.Parse(e.Result);
    
    
                bool forecastTomorrow = true;
    
                foreach (XElement element in doc.Descendants("channel").First().Descendants("item"))
                {
    
                    if (element.ToString().Contains("Current Conditions"))
                    {
                        ContentGrid.Visibility = Visibility.Visible;
    
                        string conditions = (string)element.Element("description");
    
    
    
                        string temp = element.Attribute("temp").Value;
    
    
                        Uri uri = new Uri("Images/" + imageName + ".png", UriKind.Relative);
                        ImageSource img = new BitmapImage(uri);
                        imgWeather1.Source = img;
    
                        lblCurrent_conditions.Text = HttpUtility.HtmlDecode(arrayConditions[0]) +"\n" + arrayConditions[1] + "\n" + arrayConditions[2] + "\n" + arrayConditions[3] + "\n" + arrayConditions[4];
                    }
                    else if (element.ToString().Contains("<yweather:forecast"))
                    {
                        ;
                        string day = element.Attribute("day").Value;
                        string conditions = element.Attribute("text").Value;
                        string tempLow = element.Attribute("low").Value;
                        string tempHigh = element.Attribute("high").Value;
                        string code = element.Attribute("code").Value;
    
                        int weatherCode = Convert.ToInt16(code);
                        string imageName = weatherImage(weatherCode);
    
                        Uri uri = new Uri("Images/" + imageName + ".png", UriKind.Relative);
                        ImageSource img = new BitmapImage(uri);
    
    
                    }
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<?xml version=1.0 encoding=UTF-8?> <soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/><env:Header xmlns:env=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance/><soapenv:Body><v9:ProcessShipmentReply xmlns:v9=http://fedex.com/ws/ship/v9><v9:HighestSeverity xmlns:env=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance>SUCCESS</v9:HighestSeverity><v9:Notifications xmlns:env=http://schemas.xmlsoap.org/soap/envelope/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance><v9:Severity>SUCCESS</v9:Severity><v9:Source>ship</v9:Source><v9:Code>0000</v9:Code><v9:Message>Success</v9:Message><v9:LocalizedMessage>Success</v9:LocalizedMessage></v9:Notifications><v9:Version> <v9:ServiceId>ship</v9:ServiceId> <v9:Major>9</v9:Major>
I have the generic structure here: <?xml version=1.0 encoding=UTF-8?> <SOAP-ENV:Envelope xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/ xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/
I have a SOAP Call that looks like this: <?xml version=1.0 encoding=utf-8?><soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/ xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/
I've a SOAP response in a var $soap_response like this: <SOAP-ENV:Envelope SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchema
I'm using the Spring WS version 1.5.8. My response looks like this: <SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/>
How do i parse json by removing the xml tag <?xml version=1.0 encoding=utf-8?> <soap:Envelope
Source xml file: <?xml version=1.0 encoding=UTF-8 standalone=yes?> <!-- Inbound Message --> <Sales xmlns=abc:org.xcbl:schemas/xcbl/v4/xcbl4.xsd xmlns:SOAP-ENV=http://www.w3.org/2003/05/soap-envelope
Ok my wsdl server is expecting this as a call : <soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ xmlns:esc=http://escoles.webservice.jovtitus.dasc.gencat.net
I have an XML file that looks like <?xml version='1.0' encoding='UTF-8'?> <root> <node name=foo1
I am trying to parse the following XML with javascript: <?xml version='1.0' encoding='UTF-8'?> <ResultSet>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.