Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
    Bookmark Topic Watch Topic
  • New Topic

xml parsing

 
John Gregory
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
SOMETHING there.

John
 
Paul Clapham
Sheriff
Posts: 21941
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!