Solved

xml and serialization

Posted on 2004-08-12
2
195 Views
Last Modified: 2010-04-23

 I often use xsd utility to come up with headers for my objects so that I can serialize them.  The problems is that xsd does not always do a good job, expecially when you use inheritance, and the object which you inherits has sub-objects which are declared as arraylists...

My question is that how can I understand what xsd does so that I can do it myself.
Xsd generates alot of headers for all my classes.

Examples:

<System.Xml.Serialization.XmlRootAttribute([Namespace]:="", IsNullable:=True)>_

etc...

All are not so simple:

<System.Xml.Serialization.XmlIncludeAttribute(GetType(PipeLayData)), .....>

Is there any way that I can understand this xml thing so that I can type up the headers myself instead of letting xsd generate them?


0
Comment
Question by:kamleshmistry
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
AerosSaga earned 400 total points
ID: 11792037
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question