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

  • Home
  • SEARCH
  • 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 645935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:33:26+00:00 2026-05-13T21:33:26+00:00

<rsp stat=ok> <image_hash>ducex</image_hash> <delete_hash>QXHbCECmDX</delete_hash> <original_image>http://i.imgur.com/ducex.jpg</original_image> <large_thumbnail>http://i.imgur.com/ducexl.jpg</large_thumbnail> <small_thumbnail>http://i.imgur.com/ducexs.jpg</small_thumbnail> <imgur_page>http://imgur.com/ducex</imgur_page> <delete_page>http://imgur.com/delete/QXHbCECmDX</delete_page> </rsp> First off all, can

  • 0
<rsp stat="ok">

<image_hash>ducex</image_hash>
<delete_hash>QXHbCECmDX</delete_hash>
<original_image>http://i.imgur.com/ducex.jpg</original_image>
<large_thumbnail>http://i.imgur.com/ducexl.jpg</large_thumbnail>
<small_thumbnail>http://i.imgur.com/ducexs.jpg</small_thumbnail>
<imgur_page>http://imgur.com/ducex</imgur_page>
<delete_page>http://imgur.com/delete/QXHbCECmDX</delete_page>

</rsp>

First off all, can someone help me start of how to parse this? All i need to do is check the “stat” value. if thats okay , then I need to get the “orginal image” link. I am targetting .NET 4.0 Client Frameowkr however so does that give me access to LINQ to XML?

How would I accomplish this using C#? Any tips to start me off with?
Thanks

  • 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-13T21:33:26+00:00Added an answer on May 13, 2026 at 9:33 pm

    You can use LINQ to XML. The xmlInput variable below would contain your string.

    string xmlInput = @"<rsp stat=""ok"">
    <image_hash>ducex</image_hash>
    <delete_hash>QXHbCECmDX</delete_hash>
    <original_image>http://i.imgur.com/ducex.jpg</original_image>
    <large_thumbnail>http://i.imgur.com/ducexl.jpg</large_thumbnail>
    <small_thumbnail>http://i.imgur.com/ducexs.jpg</small_thumbnail>
    <imgur_page>http://imgur.com/ducex</imgur_page>
    <delete_page>http://imgur.com/delete/QXHbCECmDX</delete_page>
    </rsp>
    ";
    
    var xml = XElement.Parse(xmlInput);
    if (xml.Attribute("stat").Value == "ok")
    {
        string originalImage = xml.Element("original_image").Value;
    }
    
    • 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?> <rsp stat=ok> <image_hash>cxmHM</image_hash> <delete_hash>NNy6VNpiAA</delete_hash> <original_image>http://imgur.com/cxmHM.png</original_image> <large_thumbnail>http://imgur.com/cxmHMl.png</large_thumbnail> <small_thumbnail>http://imgur.com/cxmHMl.png</small_thumbnail> <imgur_page>http://imgur.com/cxmHM</imgur_page> <delete_page>http://imgur.com/delete/NNy6VNpiAA</delete_page> </rsp> This
Scribd's API returns XML, for example: <?xml version=1.0 encoding=UTF-8?><rsp stat=ok><thumbnail_url>http://imgv2-4.scribdassets.com/img/word_document/60906103/111x142/79c5e6bab7/1327030759</thumbnail_url></rsp> is there a way
This is the response I'll be getting: <?xml version=1.0 encoding=utf-8?> <rsp stat=ok> <image_hash>cxmHM</image_hash> <delete_hash>NNy6VNpiAA</delete_hash>
I have a NSString with this content: <?xml version=1.0 encoding=UTF-8?> <rsp stat=ok> <mediaid>y2q62</mediaid> <mediaurl>http://twitpic.com/url</mediaurl>
I have a sample set of XML returned back: <rsp stat=ok> <site> <id>1234</id> <name>testAddress</name>
I want to write a function for uploading photos to flickr as http://www.flickr.com/services/api/upload.api.html .
I'm using jquery and the jquery-json plugin found here: http://code.google.com/p/jquery-json/ I've checked at http://jsonlint.com/
Here's my jQuery: var docname = $('#doc').val(); function parseXml(xml) { $(xml).find(rsp).each(function() { alert(success); });
0000000000033a1b subq $0x28,%rsp I am having trouble extracting 0x28 from the above line. I
I have the following in my file.h: #define SetSP(sp) asm(movq %0,%%rsp: : r (sp)

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.