DIGIT-ARC read-only archive · snapshot: July 23, 2026

need help with XML and XSD

2 posts · originally from https://geek.digit.in/community/threads/need-help-with-xml-and-xsd.151808/

arpanmukherjee1
arpanmukherjee1 Original post #1
Jan 26, 2012 at 3:10 AM
hi.

i have a xml file with structure

Code:
<?xml version="1.0" encoding="UTF-8"?>
<Start Description="nslfjhl">
 <Products Description="sfhsdf">
  <ProductList>
   <Product Mode="02" Key="2" />
   <Product Mode="01" Key="11" />
  </ProductList>
  <CustomKeys>
   <Key Value="4545"/>
  </CustomKeys>
 </Products>
</Start>

now i generated its XSD with xsd.exe in Visual Studio 2010
and generated its class with command
Code:
c:\> xsd C:\samlpe.xsd /c /l:CS

now how to update delete and insert into this class.

i do know how to deserialize and serialize with XmlSerializer

any help is welcome. thanks in advance
Prime_Coder
Jan 26, 2012 at 4:59 PM
Can't say for sure, but maybe this is what you are looking for:

HOW TO: Serialize and Deserialize XML in Visual Basic .NET