| Sign In/My Account | View Cart |
| Article: |
Parsing an XML Document with XPath | |
| Subject: | Fixes for JDK1.5.0_04 | |
| Date: | 2005-08-17 06:39:58 | |
| From: | jimclark1 | |
|
Casting to NodeSet doesen't work when evaluating a "NODESET", not sure why. However, casting to directly to a NodeList works.
|
||
Showing messages 1 through 3 of 3.
com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList nodeList =
(com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList) xPath.evaluate(expression,
inputSource, XPathConstants.NODESET);
import org.apache.xpath.NodeSet;