how i do this one? please somebody help me.. :(
1) Design an xml-structure to represent a list of books. Design a DTD and give an example of a booklist as an xml-document.
2) Write a Java class to hold information about a book. It should contain the same information about a book as you designed in exercise 1) for xml.
3) Write a method in your book class to convert a book object into xml. Output could for instance be a text string or a file.
i did number 1.. what bout the next (2 and 3)