locked
Schema generation for XML Schema App Info using C# RRS feed

  • Question

  •  

     

     

     

     

    I want 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
    • Moved by sudarshans1 Tuesday, June 9, 2009 5:09 PM Not related to Social Bookmarks Discussion Forum (From:Social Bookmarks Discussion Forum)
    Tuesday, June 9, 2009 4:15 PM

Answers