public static List<Raw_AniDB_MyListFile> ProcessMyList(XmlDocument docAnime) { List<Raw_AniDB_MyListFile> mylistentries = new List<Raw_AniDB_MyListFile>(); try { if (docAnime != null && docAnime["mylist"] != null) { XmlNodeList myitems = docAnime["mylist"].GetElementsByTagName("mylistitem"); foreach (XmlNode node in myitems) { try { Raw_AniDB_MyListFile mylistitem = new Raw_AniDB_MyListFile(); mylistitem.ProcessHTTPSource(node); mylistentries.Add(mylistitem); } catch (Exception ex) { logger.ErrorException("Error in ProcessEpisodes: {0}" + ex.ToString(), ex); } } } } catch (Exception ex) { logger.ErrorException("Error in AniDBHTTPHelper.ProcessMyList: {0}", ex); return null; } return mylistentries; }