I am getting a xml object from as a web response for getting data from a web page
the content is as :
" <bookshare>\n <version>4.1.1</version>\n <messages/>\n <book>\n <metadata>\n <author>David Flanagan</author>\n <available-to-download>0</available-to-download>\n <bookshare-id>21385</bookshare-id>\n <brief-synopsis>The 1.4 release of Java 2 Standard edition brings a load of new features - and the potential for frustration. Fret not, our new 4th edition has answers. The accelerated introduction lets you start writing code right away, and because the book's classic quick reference contains all the classes in the essential Java packages, you can find exactly what you need to make Java's new version work for you.</brief-synopsis>\n <category>Computers and Internet</category>\n <content-id>21385</content-id>\n <copyright>2005</copyright>\n <dtbook-size>6396260</dtbook-size>\n <freely-available>0</freely-available>\n <images>0</images>\n <isbn13>9780596007737</isbn13>\n <language>English US</language>\n <publish-date>05122005</publish-date>\n <publisher>O'Reilly</publisher>\n <quality>Publisher Quality</quality>\n <title>Java in a Nutshell, 5th Edition</title>\n </metadata>\n </book>\n</bookshare>\n\n \n"
how do i format this and get the details from the web response?
appreciate a reply