| | |
| | | { |
| | | if (childNodes.Name == "outline" && childNodes.Attributes["URL"] != null) |
| | | { |
| | | MusicInfo musicInfoCN = new MusicInfo(); |
| | | Songs musicInfoCN = new Songs(); |
| | | musicInfoCN.URL = childNodes.Attributes["URL"] == null ? "" : childNodes.Attributes["URL"].Value; |
| | | musicInfoCN.Title = childNodes.Attributes["text"] == null ? "" : childNodes.Attributes["text"].Value; |
| | | musicInfoCN.Image = childNodes.Attributes["image"] == null ? "" : childNodes.Attributes["image"].Value; |
| | |
| | | { |
| | | if (a.Name == "outline") |
| | | { |
| | | MusicInfo musicInfoCN = new MusicInfo(); |
| | | Songs musicInfoCN = new Songs(); |
| | | musicInfoCN.URL = a.Attributes["URL"] == null ? "" : a.Attributes["URL"].Value; |
| | | musicInfoCN.Title = a.Attributes["text"] == null ? "" : a.Attributes["text"].Value; |
| | | |
| | |
| | | switch (v.Name) |
| | | { |
| | | case "outline": |
| | | MusicInfo musicInfo = new MusicInfo(); |
| | | musicInfo.Title = v.Attributes["text"].Value; |
| | | Songs musicInfo = new Songs(); |
| | | musicInfo.name = v.Attributes["text"].Value; |
| | | musicInfo.URL = v.Attributes["URL"].Value; |
| | | musicInfo.Cnkey = v.Attributes["key"].Value; |
| | | |