File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

import org.apache.xalan.xpath.*;

 
ved gunjan
Ranch Hand
Posts: 86
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI!!!
I've to use xpath to query the xml file in java objects.I'm very much new the world of xml and java.I'm using J2SDK1.4 and JWSDP1.3.
In my search for tutorials on xml and java i found a very useful link at javaworld( http://www.javaworld.com/javaworld/jw-09-2000/jw-0908-xpath-p2.html)
Here they have used DOM and xpath for xml processing in java objects.
in the example that they have shown ,they have imported packages which are listed below...

import org.w3c.dom.*;
import org.xml.sax.*;
import org.apache.xalan.xpath.*;
import org.apache.xalan.xpath.xml.*;

My query is what jars i need to put in my CLASSPATH to get the 3rd and the 4th packages.i.e
import org.apache.xalan.xpath.*;
import org.apache.xalan.xpath.xml.*;

I hope i've put query properly, and many thanx in advance for any replys.
Many Regards
Ved Gunjan
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need Xalan.jar
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic