Solved

xml and serialization

Posted on 2004-08-12
2
192 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

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…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

777 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