This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes xml parsing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply locked New topic

xml parsing

John Gregory
Ranch Hand

Joined: Oct 05, 2006
Posts: 118
Ok, then what code can I use to get something like
partNum === 1234577A
description === "blah, blah"
quantity === 2

Iterating I can print out partNum, description, and quantity
by using node.getNodeName() method, however, when I do
node.getNodeValue(), I get null back and clearly, there is

Paul Clapham

Joined: Oct 14, 2005
Posts: 19312

John, would you mind re-posting this as a reply to the thread it's discussing? It won't make any sense to anybody standing alone like this.
I agree. Here's the link:
subject: xml parsing