|
-
Jul 29th, 2004, 02:44 AM
#1
Thread Starter
Addicted Member
Compact Framework
Can anyone tell me how to write to XML in Compact Framework?
I cant seem to find any way.
-
Jul 29th, 2004, 04:31 PM
#2
Junior Member
If you are using an xml schema then I would use the System.Data namespace and declare a new System.Data.DataSet object and read the xml schema you have, and use the data objects to work with it. Otherwise I would use System.Xml namespace and declare a new System.Xml.XmlDocument and use the Xml namespace to create the elements in the xml document. Both work in the compact framework.
Chris
-
Jul 29th, 2004, 08:02 PM
#3
Thread Starter
Addicted Member
so how...should i go about doing it.....
-
Jul 29th, 2004, 08:21 PM
#4
Thread Starter
Addicted Member
Can I use Xml.Serialization in Compact Framework ??
-
Jul 30th, 2004, 06:20 AM
#5
Junior Member
are you using an XML schema?
-
Jul 30th, 2004, 10:09 PM
#6
Thread Starter
Addicted Member
-
Jul 31st, 2004, 07:33 AM
#7
Junior Member
XML Schema is like a blueprint of the xml file. It defines the tables, columns, datatypes stored in the xml file and the structure of it. If you make a schema file, its really easy to manipulate the data using the dataset and System.Data namespace. I think XSD is the file extension for a schema file, XML Schema Definition would be my guess. You can create them in visual studio depending on what version you have.
Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|