In a C# 2008 application, I need to write code that will generate the following xml. Since
I am new to working with xml, I am wondering if you can tell me and/or
point me to a reference that will show me how to generate the following xml:
<xs:element name="AddDocuments">
<xs:complexType>
<xs:annotation>
<xs:documentation xml:lang="en">
Request for adding Documents
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name ="PckId" type="ept:PackId"/>
<xs:element name ="FDocs" type="ept:FDocs" minOccurs="0" maxOccurs="10"/>
</xs:sequence>
<xs:complexType name="FDocs">
<xs:annotation>
<xs:documentation> Refer to the attributes doc</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FDocMetadata" type="ept:FDocAttr">
<xs:annotation>
<xs:documentation>
This structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="attachmentId" type="ept:AttachmentId"/>
</xs:sequence>
</xs:complexType>