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 7897943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:17:59+00:00 2026-06-03T08:17:59+00:00

i have to parse it and display it in a asp.net webpage The output

  • 0

i have to parse it and display it in a asp.net webpage

The output should look like this
Something like this

XML

 <results id="10157" objectType="ROS" systemName="Constitutional" comments="" systemStatus="" patientPartyId="158641" providerPartyId="145150" patientEncounterId="17137" updatedBy="C144964.U685" updatedDate="2012-04-28T10:13:40" urn="ROS-Constitutional-PatientRosSystemsType-10157" createdDate="" createdBy="" activeFlag="true">
  <symptoms id="10194" systemId="10157" symptomName="Fatigue" updatedBy="C144964.U685" updatedDate="2012-04-28T10:13:19" urn="ROS-Constitutional-Fatigue-PatientSymptomType-10194" createdDate="" createdBy="" activeFlag="true">
    <symptomAttributes id="31393" parentId="10194" className="ObjectAttributeTypeImpl" parentClassName="PatientSymptomType" name="Status" value="C" updatedBy="C144964.U685" updatedDate="2012-04-28T10:13:40" createdBy="" createdDate="" urn="cos-ts-CompanyType-144964-ObjectAttributeType-31393" activeFlag="true"/>
    <symptomAttributes id="31394" parentId="10194" className="ObjectAttributeTypeImpl" parentClassName="PatientSymptomType" name="Comment" value="test123" updatedBy="C144964.U685" updatedDate="2012-04-28T10:13:40" createdBy="" createdDate="" urn="cos-ts-CompanyType-144964-ObjectAttributeType-31394" activeFlag="true"/>
  </symptoms>
  <symptoms id="10195" systemId="10157" symptomName="Fever" updatedBy="C144964.U685" updatedDate="2012-04-28T10:13:19" urn="ROS-Constitutional-Fever-PatientSymptomType-10195" createdDate="" createdBy="" activeFlag="true">
    <symptomAttributes id="31395" parentId="10195" className="ObjectAttributeTypeImpl" parentClassName="PatientSymptomType" name="Status" value="C" updatedBy="C144964.U685" updatedDate="2012-04-28T10:13:40" createdBy="" createdDate="" urn="cos-ts-CompanyType-144964-ObjectAttributeType-31395" activeFlag="true"/>
    <symptomAttributes id="31396" parentId="10195" className="ObjectAttributeTypeImpl" parentClassName="PatientSymptomType" name="Comment" value="testing" updatedBy="C144964.U685" updatedDate="2012-04-28T10:13:40" createdBy="" createdDate="" urn="cos-ts-CompanyType-144964-ObjectAttributeType-31396" activeFlag="true"/>
  </symptoms>
</results>
<results>................</results>
<results>................</results>
........ so on

This is the xml i got from server.
i have to parse this and store it in a collection, i’m not getting any idea how to store it in a collection or something. Because there would be multiple results tags and each result tag has its own values and sub tags

Normally i parse the response and store it in a List<Dictionary<,>> if XML is two level. But here that approach will not work.

I have to store it in one variable(List or something) and only some attributes of the elements i have to store. like in results =>(id,sytemName,comments) in symptoms =>(id,symptomName) and in symptomAttributes => (name,value)…

thanks in advance…

  • 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-06-03T08:18:00+00:00Added an answer on June 3, 2026 at 8:18 am

    I would recommend:

    1. Defining a struct (“record”) for each “symptom”

    2. Putting your symptoms in a “List”

    3. I’m not sure what a “ROS” or “Constitutional” mean, but I suspect your “symptoms” list might be associated with a “patient”. And that you should also have a “struct” for patient records, and a “List” (containing the “symptoms” sublist).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to display place details from this json: I have problem with parse
This is all asp.net c#. I have an enum public enum ControlSelectionType { NotApplicable
I have an ASP.NET 4 calendar display problem. I want to programmatically set the
I have to parse a 1Gb XML file with a structure such as below
http://www.taxmann.com/TaxmannWhatsnewService/Services.aspx?service=gettopstoriestabnews This is my web service I have to parse and store all value
I would like to do something similar what we do in ASP.NET where we
I have a rather complex legacy ASP.Net application that is under continuous development, and
I have some XML in an XmlDocument, and I want to display it on
Please see the below code: I am have a table row defined using asp.net
This question relates to ASP.NET MVC3 using the Razor Engine. What I need to

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.