• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

equivalent of ASP's selectSingleNode() in Java

 
Krysty Sullivan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the equivalent of ASP's selectSingleNode() in Java? thanks!
 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cristy Sy:
what is the equivalent of ASP's selectSingleNode() in Java? thanks!

am not sure if you are referring to DOM and if yes which interface you are talking about?.
I remember havign seen such a method in a Xalan helper class called XPathAPI (which works on Xpaths to select a node) and is not a w3c standard interface.
If you can tell how you used this method in ASP we can probably suggest an equivlent java souliton or api.
I found
org.apache.xpath.XPathAPI
class to be extremely useful even though it's parser specific. It has methods which can get certain things(searches) done (since it works on Xpaths) in a easier way than DOM.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic