S
schaf
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
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