wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes Help parse using JAXP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Help parse using JAXP" Watch "Help parse using JAXP" New topic

Help parse using JAXP

Patricia Fulk
Ranch Hand

Joined: Sep 10, 2001
Posts: 62
Can someone help me out. I am trying to load xml into an object and it is giving me problems. The xml is as follows:
<name>test company name</name>
<name>Large Value</name>
<name>Large, Mid, Small Blend</name>
I am trying to get the class name and percents into an object but I keep getting a null pointer exception. Here is the code:

If someone could help I would really appreciate it.
I agree. Here's the link: http://aspose.com/file-tools
subject: Help parse using JAXP
Similar Threads
How to compare two huge xml files
Parsing XML doc
xml updations and deletions
Can some one help I keep getting a d**m null value and no examples work
SAX parser