You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Wei Cheng <We...@baylor.edu> on 2000/12/03 18:39:36 UTC

a question for XPathAPI

 I have a question for XPathAPI, in the example ApplyXPathAPI.java,
 it use XPathAPI.selectNodeIterator() to use a  XPath string to select a nodelist.
 and there're still other function such as selectNodeList() to select
 a nodeList. Do you know that exist a  function that return a boolean
 when you try to apply XPath string,(if the XPathAPI.selectNodeList()
 's Nodelist's length is 0 or XPathAPI.selectSingleNode()'s Node is
 NULL  then return true else return false) thanks!
  

Best regards,
 Wei                          mailto:Wei_Cheng@baylor.edu