title: xml : how to reference a .xsd file at .xml file?
body: <p>I want to see xml file in browser as I define in .xsd file. Please check the following two files for me and point out what do I need to do. These two files are under same folder.</p>
  
  <p>employee.xml</p>
  
  <pre><code> &lt;?xml version="1.0"?&gt;
  
  &lt;employee xmlns="http://www.w3schools.com" 
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
            xsi:schemaLocation="employee.xsd"&gt;
  
    &lt;firstname&gt;John&lt;/firstname&gt;
    &lt;lastname&gt;Smith&lt;/lastname&gt;
  &lt;/employee&gt;
  </code></pre>
  
  <p>employee.xsd</p>
  
  <pre><code>&lt;xs:element name="employee"&gt;
    &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
        &lt;xs:element name="firstname" type="xs:string" fixed="red" /&gt;
        &lt;xs:element name="lastname" type="xs:string"/&gt;
      &lt;/xs:sequence&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  </code></pre>