code: public void executeCharsToContentHandler(XPathContext xctxt, 
                                                ContentHandler handler)
      throws javax.xml.transform.TransformerException,
             org.xml.sax.SAXException
    {
      if(Arg0IsNodesetExpr())
      {
        int node = getArg0AsNode(xctxt);
        if(DTM.NULL != node)
        {
          DTM dtm = xctxt.getDTM(node);
          dtm.dispatchCharactersEvents(node, handler, true);
        }
      }
      else
      {
        XObject obj = execute(xctxt);
        obj.dispatchCharactersEvents(handler);
      }
    }
docs: Execute an expression in the XPath runtime context, and return the
  result of the expression.
  
  
  @param xctxt The XPath runtime context.
  
  @return The result of the expression in the form of a <code>XObject</code>.
  
  @throws javax.xml.transform.TransformerException if a runtime exception
  occurs.