Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Schema generation for XML Schema App Info using C#

6 views
Skip to first unread message

msharma

unread,
Jun 10, 2009, 11:22:02 AM6/10/09
to
I am trying to create following schema code using C#, i am able to create
annotation and appinfo. but having issues while adding AttributeGroup to
XMLSchemaAppInfo object. Any help is really appriciated.
<xs:annotation>
<xs:appinfo>
<xs:attributeGroup name="VersionInformation">
<xs:attribute name="SBU" type="xs:string" default="A"/>
<xs:attribute name="SchemaLOB" type="xs:string" default="AGBC"/>
<xs:attribute name="Version" type="xs:string" default="5.000.000"/>
</xs:attributeGroup>
<xs:attributeGroup name="Types">
<xs:attribute name="Test" type="xs:string"/>
</xs:attributeGroup>
</xs:appinfo>
</xs:annotation>


Thanks in Advance

0 new messages