This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I trying write some code with the DOM parser. I can getElementsByTagName and something.. but i am so new in Java, and i do not know how can i get the Attributes (i know the getAttributes() method, but how can i use, and where?)..
Well i would like to ask any help with somebody who has a little time, and who could show me how I could to print the results to console like this:
BookID: 1097# Tittle: IMAGINE# Written by: Jonah Lehrer# ISBN: 1413494-413-54# Price: 37 (USD)# Publisher ID: K641#
BookID: 1010# Tittle: PRAGUE WINTER# Written by: Madeleine Albright, Bill Woodward# ISBN: 1156521-568-87# Price: 55 (EUR)# Publisher ID: K354#
BookID: 1063# Tittle: THE INNOCENT# Written by: David Baldacci# ISBN: 1052071-518-27# Price: 23 (GPB)# Publisher ID: K211#
Does someone have little time for it?
Thank you in advance for any help you can provide.
Unfortunately i have to do another things, therefore i cannot write any row in this theme. When i'll have time for it again (i hope as soon as possible), i Will be trying write a code with your logic.
Thanks for your patience.