Code has been added to clipboard!

Uploading XML Data in PHP DOMDocument

Example
<?php
  $xml_doc = new DOMDocument();
  $xml_doc->load('node.xml');

  print $xml_doc->saveXML();
?>