This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes equivalent of ASP's selectSingleNode() in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "equivalent of ASP Watch "equivalent of ASP New topic
Author

equivalent of ASP's selectSingleNode() in Java

Krysty Sullivan
Ranch Hand

Joined: Jun 06, 2002
Posts: 48
what is the equivalent of ASP's selectSingleNode() in Java? thanks!
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: equivalent of ASP's selectSingleNode() in Java
 
Similar Threads
Encoding HTML
JSP executeglobal equivalent
Java and XML: equivalent of ASP's selectSingleNode() in Java
equivalent of ASP's Server.Mappath() in JSP
websphere questions