简体   繁体   中英

XML parsing returned from a URL query

I am working on LinkedIn APIs where I make a query using URL. The result of the query is returned in XML and I need to display it to the user. Does simplexml_load_file() call supports this fetching from a URL? I tried using it but it hangs up!

Is there any better method to parse XML returned from a query other than simplexml_load_file?

使用XMLReader ,请看这里: XMLReader

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM