Solved

xml and serialization

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

Suggested Solutions

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…
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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