How to parse XSD file using c#
<p>I want to read XSD File. But unable to find a proper way to parse XSD file.</p>

<pre><code>&lt;xsd:group name="group_name"&gt;
    &lt;xsd:annotation&gt;
        &lt;xsd:documentation&gt;Some text is here&lt;/xsd:documentation&gt;
    &lt;/xsd:annotation&gt;
    &lt;xsd:sequence&gt;
        &lt;xsd:element minOccurs="0" name="Element_1" type="string"&gt;
            &lt;xsd:annotation&gt;
                &lt;xsd:documentation&gt;Some text is here&lt;/xsd:documentation&gt;
            &lt;/xsd:annotation&gt;
        &lt;/xsd:element&gt;
        &lt;xsd:element minOccurs="0" name="Element_2" type="string"&gt;
            &lt;xsd:annotation&gt;
                &lt;xsd:documentation&gt;Some text is here&lt;/xsd:documentation&gt;
            &lt;/xsd:annotation&gt;
        &lt;/xsd:element&gt;
    &lt;/xsd:sequence&gt;
&lt;/xsd:group&gt;
</code></pre>

<p>I want to read each group in my file, a sequence in that group and element in that sequence. And also need to read annotation of each group, I can element.</p>

<p>How can I do that?</p>