?
Solved

xml and serialization

Posted on 2004-08-12
2
Medium Priority
?
196 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 1200 total points
ID: 11792037
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

762 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