oc XML解析多个根节点怎么解析
<?xmlversion="1.0"encoding="UTF-8"?><users><uid>122491</uid><username>sb94u</username...
<?xml version="1.0" encoding="UTF-8" ?>
<users>
<uid>122491</uid>
<username>sb94u</username>
<friendnum>1</friendnum>
<lastactivity>1428549985</lastactivity>
<headimage>/my/headimage.php?uid=122491</headimage>
<realname></realname>
</users>
<users>
<uid>82781</uid>
<username>Erfangdong</username>
<groupid>6</groupid>
<credit>896</credit>
<experience>886</experience>
<viewnum>31</viewnum>
<friendnum>27</friendnum>
<lastactivity>1428548912</lastactivity>
<headimage>/my/headimage.php?uid=82781</headimage>
<realname></realname>
</users>
<users>
<uid>122243</uid>
<username>周树树</username>
<groupid>6</groupid>
<credit>110</credit>
<experience>149</experience>
<viewnum>5</viewnum>
<friendnum>1</friendnum>
<lastactivity>0</lastactivity>
<headimage>/my/headimage.php?uid=122243</headimage>
<realname></realname>
</users>
<users>
<uid>122467</uid>
<username>郭文明</username>
<groupid>6</groupid>
<credit>138</credit>
<experience>142</experience>
<headimage>/my/headimage.php?uid=122467</headimage>
<realname></realname>
</users>
<users> 展开
<users>
<uid>122491</uid>
<username>sb94u</username>
<friendnum>1</friendnum>
<lastactivity>1428549985</lastactivity>
<headimage>/my/headimage.php?uid=122491</headimage>
<realname></realname>
</users>
<users>
<uid>82781</uid>
<username>Erfangdong</username>
<groupid>6</groupid>
<credit>896</credit>
<experience>886</experience>
<viewnum>31</viewnum>
<friendnum>27</friendnum>
<lastactivity>1428548912</lastactivity>
<headimage>/my/headimage.php?uid=82781</headimage>
<realname></realname>
</users>
<users>
<uid>122243</uid>
<username>周树树</username>
<groupid>6</groupid>
<credit>110</credit>
<experience>149</experience>
<viewnum>5</viewnum>
<friendnum>1</friendnum>
<lastactivity>0</lastactivity>
<headimage>/my/headimage.php?uid=122243</headimage>
<realname></realname>
</users>
<users>
<uid>122467</uid>
<username>郭文明</username>
<groupid>6</groupid>
<credit>138</credit>
<experience>142</experience>
<headimage>/my/headimage.php?uid=122467</headimage>
<realname></realname>
</users>
<users> 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询