PC Review


Reply
Thread Tools Rate Thread

DataSet and XML files

 
 
schaf
Guest
Posts: n/a
 
      22nd Feb 2007
Hi NG!
I have a question to the following XML structure (or similar to this):

<History>
<Technique name="AB1" date="02/22/07 08:18">
<Voltage>230</Voltage>
<Size>
<X>12</X>
<Y>12</Y>
</Size>
</Technique>
<Technique name="BB1" date="02/22/07 08:25">
....
</Technique>
</History>

The History can have one or more Technique entries.
A technique is defined by the name and the date.
A technique contains different parameters.

According the MSDN I have 2 possibilities to create a XSD which allows
me to save my data.
1.) a nested XML structure (as displayed above)
2.) Use of Key/Keyref.

I just have to check if the values has been changed and if so create a
new technique entry.
Which is the best way to implement my needs ? What do you recommend
and why ?

Thanks

 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      22nd Feb 2007
schaf,
This really does not relate to the C# language. Try the ADO.NET newsgroup.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net




"schaf" wrote:

> Hi NG!
> I have a question to the following XML structure (or similar to this):
>
> <History>
> <Technique name="AB1" date="02/22/07 08:18">
> <Voltage>230</Voltage>
> <Size>
> <X>12</X>
> <Y>12</Y>
> </Size>
> </Technique>
> <Technique name="BB1" date="02/22/07 08:25">
> ....
> </Technique>
> </History>
>
> The History can have one or more Technique entries.
> A technique is defined by the name and the date.
> A technique contains different parameters.
>
> According the MSDN I have 2 possibilities to create a XSD which allows
> me to save my data.
> 1.) a nested XML structure (as displayed above)
> 2.) Use of Key/Keyref.
>
> I just have to check if the values has been changed and if so create a
> new technique entry.
> Which is the best way to implement my needs ? What do you recommend
> and why ?
>
> Thanks
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XML-files and DataSet John Devlon Microsoft VB .NET 2 16th Jul 2007 10:54 PM
convert 2 XML files into a dataset RC Microsoft ADO .NET 1 23rd Jan 2005 03:45 AM
Problems with DATASET.WriteXml: I get two files (XML and XSD) =?Utf-8?B?SmFuIFNjaG9lbnJvY2s=?= Microsoft ADO .NET 3 19th Oct 2004 06:59 AM
how to add csv files in dataset base Bruno Microsoft VB .NET 3 22nd Sep 2003 07:16 PM
xml files and dataset Onur Bozkurt Microsoft ASP .NET 0 21st Jul 2003 03:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:56 AM.