TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
dc
NA
663
0
C# generateing xml
Sep 15 2012 2:56 AM
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>
Reply
Answers (
2
)
Connect C# app to a webpage
C# using a stored procedure