title: How to use Schema that is on local machine in XML document
body: <p>I have limited knowledge of XML/Schema files.</p>
  
  <p>So this should be a fairly simple question.
  How do you specify a local file for the schemaLocation?</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  
  &lt;note
    xmlns="http://www.w3schools.com"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.w3schools.com note.xsd"&gt;
    ...
  &lt;/note&gt;
  </code></pre>
  
  <p>This is a sample from www.w3.org and the part that specifies schema is in schemaLocation.
  I tried looking at the documentation, but how can you specify a local file?</p>
  
  <p>Something like</p>
  
  <pre><code>xsi:schemaLocation="../relativepath/schemafolder not.xsd"&gt;
  </code></pre>
  
  <p>Thanks</p>