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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:23:36+00:00 2026-05-25T22:23:36+00:00

I have been now searching for some time tutorials and posts how to deserialize

  • 0

I have been now searching for some time tutorials and posts how to deserialize a complex XML Document to objects and use it in an silverlight application. I have seen a lot of tutorials and posts from 2008, 2009 and many which clearly do not work.. It is kinda easy to work with Hello World or a class “Person” but i can not find any good stuff about some complex xml files and objectaction on the data. The 3 lines of parsingcode are not the problem, but what does the c # code look like? How do i create all those classes? How to work with those objects?

Lets imagine you get from a Web Service a stream or you have a string in your logic like this. You have namespaces, attributes and 6 childnodes.

<?xml version="1.0" encoding="UTF-8"?>
<om:root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:om="http://www.opengis.net/om/1.0">
<a name="a1">
<b>
    <c id="1" name="C1">
        <d id="1" name="D1">My name is D1</d>
        <d id="2" name ="D2">My name is D2</d>
        <e>
            <f>this is f1</f>
        </e>
    </c>
    <c id="2" name="C2">
        <d id="3" name="D3">My name is D3</d>
        <e>
            <f>this is f2</f>
        </e>
    </c>
</b>
<b>
    <c id="3" name="C3">
        <d id="4" name="D5">My name is D4</d>
        <d id="5" name="D5">My name is D5</d>
        <d id="6" name="D6">My name is D6</d>
        <d id="7" name="D7">My name is D7</d>
        <e>
            <f>this is f3</f>
        </e>
    </c>
</b>
</a>
</om:root>

1) Is there any website, which can create the classes and c# code to be able to work/store the data within a xml? You post your xml file and u get the sourcecode for your c # classes. Something like http://www.json2csharp.com

2) How would my classes, properties, etc look like? I would like to see one standard modern state of the art way how to deal with Properties, Attributes, Lists, etc. The complete code with “using xxx”! Please lets use standard serializer class which will work with Silverlight!

3)Some object action. Like

  1. give me all nom:c in a list
  2. give me the value from f in nom:c id=”2″
  3. put all b into a list
  4. give me all atributevalues from name=”” FROM all test:d nodes

just some serius practical queries and not those easymode get.me.person.name or book.name

edit: Ok, maybe this is to difficult. Can anyone post some Links where there is at least a kind of tutorial or a blog with some examples?

  • 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-25T22:23:37+00:00Added an answer on May 25, 2026 at 10:23 pm

    For generating c# classes from xml you can use Microsoft tool xsd.exe.

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

Sidebar

Related Questions

I have been searching for the perfect web development IDE for some time now.
I have been searching for an answer for this for some time now. I
I have been testing my geolocation query for some time now and I haven't
Ok, so I have been searching for quite some time on this. I have
I've been searching for some time now in here and other places and can't
For a long time now I have been searching through the forum whilst teaching
I have been learning C++ for three months now and in that time created
Right now I have been trying to use Launchpad's API to write a small
I have been searching through here and google for a few days now, trying
I have been searching for several hours now and have so far had no

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.