Serialization

  • Thread starter Thread starter beachboy
  • Start date Start date
B

beachboy

my XML format as below:
<School>
<SchoolInfo>
<Name>
<Address>
<Tel>
</SchoolInfo>
<Students>
<Student id="2" name="student2">
<Student id="4" name="student4">
</Students>
</School>

How I can serializer the Students ArrayList? Anyone can tell me and have a
good web articles for my reference.
Thanks in advanced.
 
public class Student {
[XmlAttributeAttribute]
public int Id;
[XmlAttributeAttribute]
public string Name;
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top