title: How to turn XSD files into documentation file
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/237938/how-to-convert-xsd-to-human-readable-documentation">How to convert xsd to human readable documentation?</a><br>
    <a href="https://stackoverflow.com/questions/202049/formatting-xsd-scheme-for-peer-review">Formatting XSD scheme for peer review</a>  </p>
  </blockquote>
  
  
  
  <p>I have a XSD file that includes xsd:annotation elements which contains a xsd:documentation element</p>
  
  <pre><code>&lt;xsd:element name="CompanyId" minOccurs="0"&gt;
      &lt;xsd:annotation&gt;
          &lt;xsd:documentation&gt;The name of the company.
          &lt;/xsd:documentation&gt;
      &lt;/xsd:annotation&gt;
      &lt;xsd:simpleType&gt;
          &lt;xsd:restriction base="xsd:string"&gt;
              &lt;xsd:minLength value="0"/&gt;
              &lt;xsd:maxLength value="40"/&gt;
          &lt;/xsd:restriction&gt;
      &lt;/xsd:simpleType&gt;
  &lt;/xsd:element&gt;
  </code></pre>
  
  <p>How can I get the schema into a file (doc, spreadsheet, etc.) that would allow non-tech people to look at the contents of schema to better understand what data is available?</p>
  
  <p>I want then to see that the field CompanyID contains "The name of the company." as shown in the xsd:documentation.  It would even be nice to see the length is up to 40 characters.</p>