Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

XmlDocument

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roy - 11 Jul 2006 13:38 GMT
I am using an XmlDocument to save an data object hirachy to an Xml file. When
I rebuild the data object hirachy, I walk through the xml node in XmlDocument
and recreate the objects. How do I know the original data types for each
node. Can XmlDocument associates with a schema so that I can look up for the
original data type of an xml node (element)?
Sanjib Biswas - 11 Jul 2006 13:57 GMT
XmlDocument has a property call XmlSchemaSet. Along with the data you should
also save the schema in the XML file.

>I am using an XmlDocument to save an data object hirachy to an Xml file.
>When
[quoted text clipped - 4 lines]
> the
> original data type of an xml node (element)?
Roy - 13 Jul 2006 03:09 GMT
Assuming I know the name of a element/attribute, how do I get the data types
for the element/attribute from XmlSchemaSet?

> XmlDocument has a property call XmlSchemaSet. Along with the data you should
> also save the schema in the XML file.
[quoted text clipped - 7 lines]
> > the
> > original data type of an xml node (element)?
Kevin Spencer - 11 Jul 2006 19:53 GMT
Have you thought about simply serializing the classes as XML?

Signature

HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

What You Seek Is What You Get.

>I am using an XmlDocument to save an data object hirachy to an Xml file.
>When
[quoted text clipped - 4 lines]
> the
> original data type of an xml node (element)?
Roy - 13 Jul 2006 03:11 GMT
Simple serialization contains too much information I don't need. Besides, I
am using Dictionary classes which is not capable of serialization.

> Have you thought about simply serializing the classes as XML?
>
[quoted text clipped - 6 lines]
> > the
> > original data type of an xml node (element)?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.