What type of structure should be here ?

Posted by Harikrishna on Stack Overflow See other posts from Stack Overflow or by Harikrishna
Published on 2010-04-20T10:15:32Z Indexed on 2010/04/20 12:43 UTC
Read the original article Hit count: 135

Filed under:
|
|

I have need of suggestion here that how should be the xml structure here for my need.

I want to store data for more than one table in single xml file that is I want to define more than one table in single xml file.And I want to set more than one attribute for each column definition.

Like I have three tables PersonalInfo,OfficeDetail,OtherInfo. Columns for each tables :

PersonalInfo: Columns: Name, Address 
              Attributtes: Name optional="true" IsInSameColumn="true" Pattern="abc"
OfficeDetail: Columns: Pid, Work
              Attributtes: Pid optional="true" IsInSameColumn="true" Pattern="798"
OtherInfo   : Columns: PhoneNo

How Should be the xml structure here such that I can read it like if only a single table I want to read from xml file.

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms