Most voted "simplexml-load-string" questions
Interprets an XML string and transforms it into an object
Learn more…6 questions
Sort by count of
-
6
votes2
answers1129
viewsHow to check for errors in an XML
I’m using the function simplexml_load_string to load a dynamic XML, but if there are formatting errors in this XML it only returns me false and I don’t know where the bug is, is it possible for me…
-
3
votes2
answers974
viewsConvert XML to php
I am making a request in php via Curl, and in the reply this returning me an xml, but I can not work with this xml.. REQUISITION: <br> curl =…
-
1
votes0
answers41
viewsDoubt with Parser XML
I have a project that uses Jsoup to parse an xml and I am changing the implementation to Retrofit and Simplexml, but the xml structure varies in the Content block, where can only come a String with…
-
1
votes1
answer30
viewsRedeem value of object
I own an object like this: SimpleXMLElement Object ( [0] => 1bf7080ac1c04e4e9de924c0a7d9444d ) But I can not only redeem the value of it. I have tried the following ways: print_r($obj{0});…
-
1
votes0
answers233
viewssimplexml_load_file does not work with large XML file - Request Time Out
I’m using the simplexml_load_file to parse in an XML document, however, the file has more than 100 Mb and instead of loading only part of the nodes, what is happening is that the whole document is…
-
0
votes1
answer106
viewsXML Parser in PHP does not work
I am trying to implement an XML PARSE code in PHP, I believe I have set up following the right logic, but it is not working. It works if I use it with an RSS feed, but the RSS Feed doesn’t have the…