This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action 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 JAVA/XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JAVA/XML" Watch "JAVA/XML" New topic


Sweety Anthony

Joined: Jan 17, 2001
Posts: 5
Can someone help me out.
This is about the XML Document.
I've got problem in extracting the attribute values of the elements as well as the data present between the elements.
I do not want to validate the XML Document.
I've tried using xerces.jar and xml4j.jar to extract the values but it reports of many missing api's. Can any one help me out and tell me as to where I may find all the available apis for XML.

paul wheaton

Joined: Dec 14, 1998
Posts: 20535

I'm moving this thread to the XML forum.

permaculture Wood Burning Stoves 2.0 - 4-DVD set
Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782
Get the Xerces from
Follow the download and installation instructions. Also make sure your CLASSPATH is set properly. Even before plugging in your ContentHandler( or other handlers, ) just try the program with a simple loading and parsing call and see if that works.
Good luck,
Ajith Kallambella M.
Sun Certified Programmer for the Java2 Platform.

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
It is sorta covered in the JavaRanch Style Guide.
subject: JAVA/XML