what is the equivalent of ASP's selectSingleNode() in Java? thanks!
posted 14 years ago
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.