ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
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.



NodeList nodeList = (NodeList)xPath.evaluate expression,inputSource, XPathConstants.NODESET);



1 to 2 of 2
  1. Fixes for JDK1.5.0_04
    2005-08-17 09:23:01  Deepak Vohra | [View]

    • Fixes for JDK1.5.0_04
      2007-03-08 19:47:20  SANGOD [View]

  2. Fixes for JDK1.5.0_04
    2005-08-17 09:17:47  Deepak Vohra | [View]

1 to 2 of 2