Repeating Xml Elements

Dec 17, 2008 at 1:59 PM
Edited Dec 17, 2008 at 2:56 PM
My XSD allows repeating xml elements for example

<contacts>
<contact>
<name>test1</name>
<telephone>123456</telephone>
</contact>
<contact>
<name>test2</name>
<telephone>78910</telephone>
</contact>
</contacts>

It seems when I deserialize a xml string and after worths serialize it again, that it only accepts the first element, I also couldn't find an array.Length or an index count property.


Dec 17, 2008 at 2:56 PM
Edited Dec 17, 2008 at 3:34 PM
Ok it works only in VS2008, because when I load the generated class lib into vs2005 it works very basic because there are no array properties/methods available for the .net 2.0 framework.

Dec 17, 2008 at 8:50 PM
ok.
Pascal.