Ask you a question of parsing XML, thank you
XML Code
T
2088002007*** daily
EMS
2008040902***
20880020070***
http://10.2.5.100/api/apireceive/returnSuccess.php
3455**
Send_goods_co Nfirm_by_platform
utf-8
EMS
HTTP://10.2.5.100/API/RETURNRESULTLIST.P HP
2088002007301423***
[Refund,confirm_goods]
***
Private_account
2088002007****
interface/digi***
2008-04-09 16:10:25
156
1
2008-04-10 14:35:25
B
123455666***
2088002007***6
208800200730***156
[Extend_timeout]
song_xia**hoo.com.cn
Private**ount
208800**301410
0.00
0.0
F
2.00
Inst_p**er
2008040**81748
Wait_buyer_confirm_goods
S
eb07c7407baf*****0804751a21c1e
MD5
I want to get the value of the Is_success node under Alipay.
That's what my code says.
$message = $doc->getelementsbytagname ("Alipay")->item (0)->nodevalue;
But it seems to get the wrong value. Ask how we can get this value. Thank you
------Solution--------------------
$message = $doc->getelementsbytagname ("is_success")->item (0)->nodevalue;