title: Parsing CDATA in XML with PHP with multiple elements in single tag
body: <p>I am using simple_xml_loader to parse xml document.</p>
  
  <p>I then use xpath to specify the root tag from which I want to print its children nodes. </p>
  
  <pre><code>$xml=simplexml_load_file('url') or die("Error: Cannot create object");
  
  $result = $xml-&gt;xpath('//category');
  foreach ($result as $node){
      print $result;
  }
  </code></pre>
  
  <p>Now I have problems printing the content of an element (i.e. ![CDATA[Refrigerators]). It is not get printed. </p>
  
  <p>How do I fix it?</p>