I'm still learning C#..I'm developing an academic project to pick the players for a team
from the pool of available players. The players database will be given
in an xml file will be something like this.
<?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 also
appreciated.
To do this what all I need to learn?
-reading XML
-developing .net components (BCL)
-what concepts in particular in C#?
-----------------------------------------------------------------------
-regards
Shashank D