aspose file tools
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
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: 19357

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