B
beachboy
Hello all,
I want to generate xml with serialization. I write a class for 2nd level
Element <SchoolInfo>, but how to handle the <Staffs> Element and create
repeated <Student> Element and own attributes.
format as below:
<School>
<SchoolInfo>
<Name>
<Address>
<Tel>
</SchoolInfo>
<Students>
<Student id="2" name="student2">
<Student id="4" name="student4">
</Students>
</School>
btw, any good serialization web articles I can read as well??
Thanks in advanced.
I want to generate xml with serialization. I write a class for 2nd level
Element <SchoolInfo>, but how to handle the <Staffs> Element and create
repeated <Student> Element and own attributes.
format as below:
<School>
<SchoolInfo>
<Name>
<Address>
<Tel>
</SchoolInfo>
<Students>
<Student id="2" name="student2">
<Student id="4" name="student4">
</Students>
</School>
btw, any good serialization web articles I can read as well??
Thanks in advanced.