Get me an ordered List from XML

Sep 19 2013 7:39 AM
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


Answers (3)