Skip to content
Advertisement

Parsing SimpleXML Object data

How to get “file_url” from this data?

Response can contain few objects, and how to parse it?

Code that I use:

JavaScript

Response:

JavaScript

Please help!

(don’t ask why I parsing rule34)

Advertisement

Answer

Hi
You can conver it to the array and work with is easy

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement