$dom = new DOMDocument; $dom->loadXML($result); /* define XML path */ $customValues = $dom->getElementsByTagName('executionStatus'); foreach ($customValues as $val) { echo $val->nodeValue, PHP_EOL; }Hope you all will enjoy this code!
How to get value by tag name from XML
Hello Friends!
Hope you all are doing well! :)
I am here now going to share some useful information with you to get the specific tag value from XML format.