Trying to read XML nodes using PHP DOM?

I have not much experience with DOMDocument But looks like your xml is small and simple, I would suggest to use simple xml Here is what I have wrote.

I have not much experience with DOMDocument. But looks like your xml is small and simple, I would suggest to use simple xml. Here is what I have wrote flerror0 messagePings being forwarded to 11 services!"; $xml = simplexml_load_string($xmlString); echo ''; print_r($xml->params->param->value); echo '';?

> And got SimpleXMLElement Object ( struct => SimpleXMLElement Object ( member => Array ( 0 => SimpleXMLElement Object ( name => flerror value => SimpleXMLElement Object ( boolean => 0 ) ) 1 => SimpleXMLElement Object ( name => message value => SimpleXMLElement Object ( string => Pings being forwarded to 11 services! ) ) ) ) ) I think now it will be much easier to access every node.

This helped. Thanks! – Programming Enthusiast May 29 at 16:36.

I had a similar issue with DOMDocument, and it seems that it's not able to give content from a node named "param"... Try changing the name to "parameter", it will work True story.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions