Home  >  Article  >  Backend Development  >  php获取xml节点数据

php获取xml节点数据

WBOY
WBOYOriginal
2016-06-23 13:17:141536browse


各位大侠,如图所示,怎么获取内容呢?有多个return 节点


回复讨论(解决方案)

看着像webserver
试试这个DOMDocument

遍历对象就行了

simpleXML_load_string($xmlstring);

谢谢各位大侠,搞定了。用的另一种方式做的

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn