title: How do you link XML to a XSD?
body: <p>Been wondering, just as we use the -declaration to bind XML to a DTD, how do we do it with XSD?</p>
  
  <p>MSDN sample:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;Product ProductID="123" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="Product.xsd"&gt;
      &lt;ProductName&gt;Rugby jersey&lt;/ProductName&gt;
  &lt;/Product&gt; 
  </code></pre>
  
  <p>is it the xsi:NoNamespaceSchemaLocation that does the trick? Or is this just another namespace?</p>
  
  <p>[EDIT]
  And is the </p>
  
  <pre><code>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  </code></pre>
  
  <p>..line just for giving us a unique XML namespace, or does it also provide information on where the schema can be located?</p>