Quantcast
Channel: xsd2Code community edition .net class generator from XSD schema
Viewing all articles
Browse latest Browse all 543

New Post: Xsd Element name classes not generated from xsd

$
0
0

I am trying to generate c# classes from the below xsd. But the element name classes are not getting generated. Below is a tailored version of the xsd file 

Note that TestType and AbstractTestType classes are generated but not the TestName class.

<xs:element name="TestName" type="TestType"/>  <xs:complexType name="TestType">    <xs:annotation>      <xs:documentation source="since">2.0</xs:documentation>      <xs:documentation xml:lang="en">        Represents a Test.      </xs:documentation>    </xs:annotation>
    <xs:complexContent>      <xs:extension base="AbstractTestType">        <xs:attribute name="canModify" type="xs:boolean" use="optional">          <xs:annotation>            <xs:documentation source="modifiable">none</xs:documentation>            <xs:documentation xml:lang="en">              Flag to signify if modification allowed            </xs:documentation>          </xs:annotation>        </xs:attribute>      </xs:extension>    </xs:complexContent>  </xs:complexType>

Can any one help?

Thanks


Viewing all articles
Browse latest Browse all 543

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>