This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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: 12893
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: 62141

"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] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: XPATH - org.apache.xalan.xpath