• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

equivalent of ASP's selectSingleNode() in Java

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what is the equivalent of ASP's selectSingleNode() in Java? thanks!
 
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic