<?xml version="1.0"?> <team> <club>MyTeam</club> <players><player name="kaka"> <type>Center Forward</type><other_playing_positions>Midfielder</other_playing_positions><other_playing_positions>Right Wing</other_playing_positions> <cannot_play_as> <defender>center back</defender> <defender>right back</defender> </cannot_play_as> <height>181</height> <rating>92</rating> </player> <player name="rooney"> <type>Striker</type> <other_playing_positions>Center Forward</other_playing_positions> <other_playing_positions>Attacking Midfielder</other_playing_positions> <cannot_play_as> <defender>center back</defender> <defender>keeper</defender> </cannot_play_as> <height>181</height> <rating>92</rating> <penalty>specialist</penalty> </player> </players></team> I'm planning to develop a BCL for creating an array of objects by reading this xml file; with each object representing each player. So that if I'm a coach, I can pick the player according to my wish. Please give me any suggestions on this project.Any help in reading xml is alsoappreciated.To do this what all I need to learn?-reading XML-developing .net components (BCL)-what concepts in particular in C#?------------------------------------------------------------------------regardsShashank D
<?xml version="1.0"?> <team> <club>MyTeam</club> <players><player name="kaka"> <type>Center Forward</type><other_playing_positions>Midfielder</other_playing_positions><other_playing_positions>Right Wing</other_playing_positions> <cannot_play_as> <defender>center back</defender> <defender>right back</defender> </cannot_play_as> <height>181</height> <rating>92</rating> </player> <player name="rooney"> <type>Striker</type> <other_playing_positions>Center Forward</other_playing_positions> <other_playing_positions>Attacking Midfielder</other_playing_positions> <cannot_play_as> <defender>center back</defender> <defender>keeper</defender> </cannot_play_as> <height>181</height> <rating>92</rating> <penalty>specialist</penalty> </player> </players></team>
<team> <club>MyTeam</club> <players><player name="kaka"> <type>Center Forward</type><other_playing_positions>Midfielder</other_playing_positions><other_playing_positions>Right Wing</other_playing_positions> <cannot_play_as> <defender>center back</defender> <defender>right back</defender> </cannot_play_as> <height>181</height> <rating>92</rating> </player> <player name="rooney"> <type>Striker</type> <other_playing_positions>Center Forward</other_playing_positions> <other_playing_positions>Attacking Midfielder</other_playing_positions> <cannot_play_as> <defender>center back</defender> <defender>keeper</defender> </cannot_play_as> <height>181</height> <rating>92</rating> <penalty>specialist</penalty> </player> </players></team>