Question : Create an XSD

Hi!

I've to create an XSD file, but I don't know how to do it:

XSD have to match this kind of structure

<myRootNode>
  <myListOfType>
   <TypeA/>
   <TypeB/>
   <TypeC/>
  </myListOfTypeA>
</myRootNode>

I've tought to something like this:

<xs:element name="myRootNode">
  <xs:element name ="myListOfType">
    <xs:sequence maxOccurs="unbounded">
      <xs:element name="TypeA"/>
      <xs:element name="TypeB"/>
      <xs:element name="TypeC"/>
    </xs:sequence>
  </xs:element>
</xs:element>

But I see that I can't have directly an xs:element into an xs:element.

How to do this?

Answer : Create an XSD

Not to contradict PeteEngineer, but those links will take you to ONLY the Management Studio. From what I understand in your question, you also require the installation of SQL Express. Am I right?

I think this is the one you want: http://www.microsoft.com/downloads/details.aspx?FamilyID=7522a683-4cb2-454e-b908-e805e9bd4e28&displaylang=en
Random Solutions  
 
programming4us programming4us