You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Alternative to simple xml load string in php version 4

Received Response
edited Apr 15, 2018 11:52PM in Customer Portal 1 comment


Hi all,


I have a requirement where I need to parse the xml elements and take the response from it and store it as an array. It worked fine when I was using simple_xml_load string in my local.


When I moved the same code onto the controller, I got error and I found that it was due to php version 4 of my controller. I wanted an alternative to it. I tried to use xml_parser_create. But, the array is so long that it had 500 elements in the response which are too long to iterate.


I want an alternative method through which I can parse my xml response in php version 4?

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!