首页 新闻 会员 周边 捐助

如何将XML数据解析成自定义实体集合?

0
悬赏园豆:10 解决于 2012-03-12 16:01

<?xml  version="1.0" encoding="GBK" ?>
<CMS>
<eb>
<pub>
<TransCode>QPD</TransCode>
<CIS>020000459999AAA</CIS>
<BankCode>102</BankCode>
<ID>test20120201.y.0200</ID>
<TranDate>20120224</TranDate>
<TranTime>155601518616</TranTime>
<fSeqno>201202240000010</fSeqno>
<RetCode>0</RetCode>
<RetMsg></RetMsg>
</pub>
<out>
<AccNo>0200004519000100297</AccNo>
<AccName>北分三套测试</AccName>
<CurrType>RMB</CurrType>
<AreaCode>0200</AreaCode>
<NextTag></NextTag>
<TotalNum>5</TotalNum>
<RepReserved1></RepReserved1>
<RepReserved2></RepReserved2>
<rd>
<Drcrf>1</Drcrf>
<VouhNo>0</VouhNo>
<Amount>1000</Amount>
<RecipBkNo>6320100</RecipBkNo>
<RecipAccNo>9558800200100014998</RecipAccNo>
<RecipName>划吻燃</RecipName>
<Summary>报销,11</Summary>
<UseCN>报销,11</UseCN>
<PostScript>010002N0000000000074,报销,11</PostScript>
<Ref></Ref>
<BusCode></BusCode>
<Oref></Oref>
<EnSummary></EnSummary>
<BusType>0</BusType>
<CvouhType>000</CvouhType>
<AddInfo></AddInfo>
<TimeStamp>2012-02-24-14.01.49.603345</TimeStamp>
<RepReserved3></RepReserved3>
<RepReserved4></RepReserved4>
</rd>
<rd>
<Drcrf>1</Drcrf>
<VouhNo>0</VouhNo>
<Amount>300</Amount>
<RecipBkNo>6320100</RecipBkNo>
<RecipAccNo>9558800200100014998</RecipAccNo>
<RecipName>划吻燃</RecipName>
<Summary>报销,赵伟</Summary>
<UseCN>报销,赵伟</UseCN>
<PostScript>010002N0000000000068,报销,赵</PostScript>
<Ref></Ref>
<BusCode></BusCode>
<Oref></Oref>
<EnSummary></EnSummary>
<BusType>0</BusType>
<CvouhType>000</CvouhType>
<AddInfo></AddInfo>
<TimeStamp>2012-02-23-17.09.58.377865</TimeStamp>
<RepReserved3></RepReserved3>
<RepReserved4></RepReserved4>
</rd>
<rd>
<Drcrf>2</Drcrf>
<VouhNo>0</VouhNo>
<Amount>100</Amount>
<RecipBkNo>0</RecipBkNo>
<RecipAccNo>0200003609014406183</RecipAccNo>
<RecipName>茄哦笋喇贵际古奠乱</RecipName>
<Summary>中核二级户测试[48]</Summary>
<UseCN></UseCN>
<PostScript></PostScript>
<Ref></Ref>
<BusCode></BusCode>
<Oref></Oref>
<EnSummary></EnSummary>
<BusType>0</BusType>
<CvouhType>000</CvouhType>
<AddInfo></AddInfo>
<TimeStamp>2012-02-23-15.17.14.359626</TimeStamp>
<RepReserved3></RepReserved3>
<RepReserved4></RepReserved4>
</rd>
<rd>
<Drcrf>2</Drcrf>
<VouhNo>6312036</VouhNo>
<Amount>2000</Amount>
<RecipBkNo>120100</RecipBkNo>
<RecipAccNo>0200003309221000919</RecipAccNo>
<RecipName>奠搁囱圃纸富夫河愿音甚优铁竿</RecipName>
<Summary>test20</Summary>
<UseCN>test20</UseCN>
<PostScript></PostScript>
<Ref></Ref>
<BusCode></BusCode>
<Oref></Oref>
<EnSummary></EnSummary>
<BusType>0</BusType>
<CvouhType>260</CvouhType>
<AddInfo></AddInfo>
<TimeStamp>2012-02-23-14.32.51.201841</TimeStamp>
<RepReserved3></RepReserved3>
<RepReserved4></RepReserved4>
</rd>
<rd>
<Drcrf>2</Drcrf>
<VouhNo>0</VouhNo>
<Amount>100</Amount>
<RecipBkNo>0</RecipBkNo>
<RecipAccNo>0200003609014406183</RecipAccNo>
<RecipName>茄哦笋喇贵际古奠乱</RecipName>
<Summary>中核二级户测试[72]</Summary>
<UseCN></UseCN>
<PostScript></PostScript>
<Ref></Ref>
<BusCode></BusCode>
<Oref></Oref>
<EnSummary></EnSummary>
<BusType>0</BusType>
<CvouhType>000</CvouhType>
<AddInfo></AddInfo>
<TimeStamp>2012-02-23-14.22.16.715988</TimeStamp>
<RepReserved3></RepReserved3>
<RepReserved4></RepReserved4>
</rd>
</out>
</eb>
</CMS>

轻狂の书生的主页 轻狂の书生 | 小虾三级 | 园豆:1042
提问于:2012-03-09 13:49
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册