Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAVA/XML  RSS feed

 
Sweety Anthony
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Trailboss
Posts: 22255
Firefox Browser IntelliJ IDE Java
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Get the Xerces from http://xml.apache.org/xerces-j/index.html
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!