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

XPATH - org.apache.xalan.xpath

kp sm
Greenhorn

Joined: Apr 24, 2006
Posts: 3
Hi,

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.

Thanks
KP.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12788
    
    5
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.

Bill
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61224
    
  66

"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.

Thanks!
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: XPATH - org.apache.xalan.xpath