title: Warnings when loading XML using simplexml_load_file()
body: <p>I have an XML file named po.xml:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
      &lt;DOCUMENT xmlns=&quot;po.xsd&quot;&gt;
          &lt;PO&gt;
              &lt;HEADER&gt;
                  &lt;PO_CODE/&gt;
                  &lt;PO_NAME/&gt;
                  &lt;REFF_NO/&gt;
              &lt;/HEADER&gt;
              &lt;DETAIL&gt;
                  &lt;CONT&gt;
                      &lt;NO_CONT/&gt;
                      &lt;UK_CONT/&gt;
                      &lt;NO_SEGEL/&gt;
                      &lt;JNS_CONT/&gt;
                      &lt;ISO_CODE/&gt;
                  &lt;/CONT&gt;
              &lt;DETAIL&gt;
          &lt;/PO&gt;
      &lt;/DOCUMENT&gt;
  </code></pre>
  <p>When I load the file using the following PHP script:</p>
  <pre><code>$XML = simplexml_load_file('po.xml');
  </code></pre>
  <p>I get these warnings:</p>
  <blockquote>
  <p>Warning: simplexml_load_file(): po.xml:2: namespace warning : xmlns: URI po.xsd &gt;is not absolute in C:\xampp\htdocs\inventory\po.php on line 3</p>
  <p>Warning: simplexml_load_file():  in C:\xampp\htdocs\inventory\po.php on line 3</p>
  <p>Warning: simplexml_load_file(): ^ in C:\xampp\htdocs\inventory\po.php on line &gt;3');</p>
  </blockquote>
  <p>I want to echo the XML structure of po.xml as a string.</p>