Hello,
I am generating an XML schema for the use in Biztalk 2004. Everything
works, except for one simple thing.
I cannot add XmlSchemaElements to a XmlSchemaComplexType. This is necessary
for the use of subrecords (nested elements, like the SubRecord1 element in
the example below).
I can add attributes to the complextype, but I don't succeed in adding
elements to this.
Attributes : __________
Dim complex As New XmlSchemaComplexType
Dim child As New XmlSchemaAttribute
complex.Attributes.Add(child)
Elements : __________
Dim complex As New XmlSchemaComplexType
Dim child As New XmlSchemaElement
//What do I have to do here??
Example : ___________
<Root>
<Record1 Attribute1="t">
<SubRecord1>test</SubRecord1>
</Record1>
</Root>