MusicBrainz RESTサービスから、次のxmlを取得します。
<artist-list offset="0" count="59">
<artist type="Person" id="xxxxx" ext:score="100">
...
WCFとXmlSerializationFormatを使用して、type属性とid属性を取得できます...しかし、「ext:score」属性を取得するにはどうすればよいですか?
これは機能します:
public class Artist
{
[XmlAttribute("id")]
public string ID { get; set; }
[XmlAttribute("type")]
public ArtistType Type { get; set; }
しかし、これはしません:
[XmlAttribute("ext:score")]
public string Score { get; set; }
シリアル化例外が発生します。「スコア」だけを使ってみましたが、うまくいきません。
何か助けはありますか?