Reading XML in C# Unity



I have the following XML



<bookstore>
<book genre='autobiography' publicationdate='1981-03-22' ISBN='1-861003-11-0'>
<title>The Autobiography of Benjamin Franklin</title>
<author>
<first-name>Benjamin</first-name>
<last-name>Franklin</last-name>
</author>
<price>8.99</price>
</book>


I want to read it and display the result as following



Genre: autobiography Publication: 1981-03-22 ISBN: 1-861003-11-0
Title: The Autobiography of Benjamin Franklin
Author: Benjamin Franklin
Price: 8.99


I am new to Unity and .Net both. Please help. Your help will be highly appreciable. Thanks


No comments:

Post a Comment