Artists XML

Jan 22, 2012 at 4:43 PM

Here my code:

 

ArtistReader reader = new ArtistReader(@"E:\Project\craw\discogs_20120101_artists.xml");
            Artist artist;
            while ((artist = reader.Read()) != null)
            {
                Console.WriteLine(artist.Name);
                Console.ReadLine();
            }

 

But i receive exception:

Unknown artist element: id

At line 

 while ((artist = reader.Read()) != null)

Help Me. Thanks
Coordinator
Jul 30, 2012 at 7:57 PM

Should be fixed, let me know if it isn't.