code: public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
    {
  
      int context = getArg0AsNode(xctxt);
      XObject val;
  
      if (DTM.NULL != context)
      {
        DTM dtm = xctxt.getDTM(context);
        String qname = dtm.getNodeNameX(context);
        val = (null == qname) ? XString.EMPTYSTRING : new XString(qname);
      }
      else
      {
        val = XString.EMPTYSTRING;
      }
  
      return val;
    }
docs: Execute the function.  The function must return
  a valid object.
  @param xctxt The current execution context.
  @return A valid XObject.
  
  @throws javax.xml.transform.TransformerException