code: public double getMatchScore(XPathContext xctxt, int context)
            throws javax.xml.transform.TransformerException
    {
  
      xctxt.pushCurrentNode(context);
      xctxt.pushCurrentExpressionNode(context);
  
      try
      {
        XObject score = execute(xctxt);
  
        return score.num();
      }
      finally
      {
        xctxt.popCurrentNode();
        xctxt.popCurrentExpressionNode();
      }
  
      // return XPath.MATCH_SCORE_NONE;
    }
docs: Get the match score of the given node.
  
  @param xctxt The XPath runtime context.
  @param context The node to be tested.
  
  @return {@link org.apache.xpath.patterns.NodeTest#SCORE_NODETEST},
  {@link org.apache.xpath.patterns.NodeTest#SCORE_NONE},
  {@link org.apache.xpath.patterns.NodeTest#SCORE_NSWILD},
  {@link org.apache.xpath.patterns.NodeTest#SCORE_QNAME}, or
  {@link org.apache.xpath.patterns.NodeTest#SCORE_OTHER}.
  
  @throws javax.xml.transform.TransformerException