• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XPATH - org.apache.xalan.xpath

 
kp sm
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic