aspose file tools*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.*;
Similar Threads
resources for preparing section 1 and 5 in IBM XML Test 141
XPath and Java 2 SDK
may be a very simple ques...but plz clear this
data validation using XSD
Using XPath: question