simplexml
SimpleXML parse Child of a Child
I am retrieving some similar XML from the Yahoo API - <ResultSet version=\"1.0\"> <Error>0</Error>[详细]
2023-03-30 04:15 分类:问答Simple XML from string - what's missing?
I\'m driving myself crazy here, I\'m almost positive I am at least on the right track. I\'m just trying to parse a response that I am getting from an API that comes back in XML. I really only need to[详细]
2023-03-29 19:29 分类:问答SimpleXMLElement::addChild doesn't seem to work with certain strings
In the effiliation pluggin for prestashop, i\'ve found this code: $values->addChild(\'marque\', \'<![CDATA[\'.$product[\'manufacturer_name\'].\']]>\');[详细]
2023-03-29 14:51 分类:问答Force SimpleXML node to always be an array, even if just 1 element in it
Let\'s say I want a Place to have a list of phone numbers. Some places will have 1 phone number, and some will have more than one. Others won\'t have on开发者_JAVA百科e at all.[详细]
2023-03-29 14:02 分类:问答Encoding in UTF-8
I need to get an XML file from some CRM software. The XML file encoding is in UTF-8, but some \"strange\" characters are present, and I can\'t parse the file with simple_xml due to these characters.[详细]
2023-03-29 10:02 分类:问答Send SimpleXmlElement via Curl using POST request
How could I send SimpleXmlElement object via Curl using POST request type and receive SimpleXmlElement object back.[详细]
2023-03-29 06:11 分类:问答XML - External access
I am planning on saving content of some HTML sites in XML docs. These XML docs will be publicly available to read, however, are there vulnerabilities that could allow outsiders to write to my XML docs[详细]
2023-03-29 04:43 分类:问答Getting value from SimpleXMLElement Object
Hi I have this following segment of XML: ...... <Result number=\"4\" position=\"1\" points=\"25\">[详细]
2023-03-28 19:27 分类:问答SimpleXML problem print key value
I have been searching google for over an hour and am frustrated, This seems so simple.All I am trying to print is my accountId. Here is the xml i am being returned from the server:[详细]
2023-03-28 10:52 分类:问答Filter XML data (with a namespace) using XPath in PHP
hoping you can help out a PHP newbie (show me C# and I\'m fine!). I want to filter XML data based on a PHP variable. Here\'s a cut of my XML file:[详细]
2023-03-27 22:56 分类:问答