object(SimpleXMLElement)#9 (1) {&nbs"/> object(SimpleXMLElement)#9 (1) {&nbs">
请问PHP里XPath查找出数据后如何让它不返回数据结构只返回值?
$data=$xml->xpath("[email protected]");
$data=$xml->xpath("[email protected]");<br /><br />$str = (string)$data[0];