I need to create a xml and a form in C# and execute which is very simple though i have learnt theroitically i am unable to execute it

problem: i need to create a simple xml file
eg:

<?xml="1.0" encoding = "UTF-8"?>
<Book>
    <author name="will" publish="2008"/>
    <author name="bill" publish="2007"/>
     <author name="gill" publish="2009"/>
</book>

say i need to create a form which contains 2 text boxes
1) saying "enter" (where i can enter some dataeither author or publish)
2) saying "submit" (where it displays the data when i click a submit button)...
i need the procedure for the doing this
can u help ?