Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Reply
Get me an ordered List from XML
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Muhammed Abdussalam
11y
1.1k
1
Reply
Hello C#Corner,
Please help me to show the data from an XML in an Ordered List in WPF. the XML is given below, I want to Show the data in a control Show All the Authors and their books list in an ordered list just below the Author Name.
Output format will look like the one below.
Author1
1. Book1
2. Book2
Author2
1. Book1
2. Book2
Author3
1. Boook1
Author4
1. Book1
2. Book2
3. Book3
the XML is Given below
<?xml version="1.0" encoding="utf-8"?>
<Library>
<Book>
<Title>C# Basics</Title>
<Author>Dev</Author>
<Author>Sulfi</Author>
</Book>
<Book>
<Title>Java Core</Title>
<Author>Bjourne</Author>
</Book>
<Book>
<Title>Android Hands on</Title>
<Author>Dev</Author>
</Book>
<Book>
<Title>IOS First</Title>
<Author>Dev</Author>
<Author>Sulfi</Author>
</Book>
<Book>
<Title>Server 2008</Title>
<Author>SQ.Hell</Author>
</Book>
<Book>
<Title>C Path</Title>
<Author>Sulfi</Author>
</Book>
</Library>
Thanks
Salam
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
WPF Hidden cell Content Read Problem
Show list with Bulleted numbers