protected Object eval(String xpath,QName type){
  Object result;
  try {
    result=m_XPath.evaluate(xpath,m_Document,type);
  }
 catch (  Exception e) {
    e.printStackTrace();
    result=null;
  }
  return result;
}

protected Object eval ( String xpath , QName type ) { Object result ; try { result = m_XPath . evaluate ( xpath , m_Document , type ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; result = null ; } return result ; }
returns the specified result of the xpath expression . can return null if an error occurred .
