我是 actionscript 中该主题的初学者,但我有一个大的 xml 响应,如下所示,我不知道如何将其转换为一个类,那里有很多字段,我该如何正确构造它们?
<GCPResponse userLocale=”de_AT_7_1”>
<Messages>
<PopUpMessages>
<Message no=”1” type=”game” name=”DONATION” key="detailKeyIfNecessary">
ahhhdhhdhdhd
</Message>
</PopUpMessages>
<TickerMessages>
<Message no=”1” type=”game” name=”TTJP” key="detailKeyIfNecessary">
fdfdfd
</Message>
<Message no=”2” type=”game” name=”LDJP”>
fffff
</Message>
</TickerMessages>
</Messages>
<Response currency=”EUR”>
<BalanceCash>10000</BalanceCash>
<BalanceDonation>10000</BalanceDonation>
<DrawClosingTime>2013-04-12T23:20:50+01:00</DrawClosingTime>
<DrawOpeningTime>2013-04-10T12:00:00+01:00</DrawOpeningTime>
<Default maxDraws=”4” draws=”1” picks=”12” jokerPicks=”1”/>
<PickPrice gameName=”ttt” draw=”123” price=”60”/>
</Response>
</GCPResponse>