Solved

xml and serialization

Posted on 2004-08-12
2
189 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
2 Comments
 
LVL 17

Accepted Solution

by:
AerosSaga earned 400 total points
ID: 11792037
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now