php 处理有层次的xml数据

通过simplexml_load_string处理后数据
https://img1.mukewang.com/5c8f617f0001c92608000306.jpg

接口返回数据:
https://img1.mukewang.com/5c8f618100018cf908000477.jpg

处理这种xml 数据 想得到里面的节点的值, 请问一下大神们 应该怎么处理

<?xml version='1.0' standalone='yes' charset='gb2312'?><CommPara><ItemPara><ParaRow><retCode>0</retCode><retstr>成功</retstr><VipName>临时会员</VipName><CertNo></CertNo><Mobile></Mobile><retBalance>198770.0000</retBalance><retJF>3916.5000</retJF><retTxt></retTxt></ParaRow></ItemPara></CommPara>

大话西游666
浏览 439回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP