File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes  XPATH - 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 " XPATH - org.apache.xalan.xpath" Watch " XPATH - org.apache.xalan.xpath" New topic

XPATH - org.apache.xalan.xpath

kp sm

Joined: Apr 24, 2006
Posts: 3

I am trying to parse an XML using XPATH.
I got a sample from the web. But the code refers to org.apache.xalan.xpath package. I am not quite sure which jar has this package. I tried xalan, xerces jars.

Please let me know which jar should I use for XPATH.

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
In my old 2003 version of xalan, xpath is in the org.apache.xpath package, not org.apache.xalan.xpath

If you are using Java 1.5, you already have the javax.xml.xpath package so you may not need the apache version.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63839

"kp sm",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: XPATH - org.apache.xalan.xpath
It's not a secret anymore!