my dog learned polymorphism
The moose likes XML and Related Technologies and the fly likes import org.apache.xalan.xpath.*; Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "import org.apache.xalan.xpath.*;" Watch "import org.apache.xalan.xpath.*;" New topic

import org.apache.xalan.xpath.*;

ved gunjan
Ranch Hand

Joined: May 17, 2003
Posts: 86
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(
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

Joined: Jul 13, 2001
Posts: 3150
You need Xalan.jar

Spritle Software Blogs
I agree. Here's the link:
subject: import org.apache.xalan.xpath.*;
It's not a secret anymore!