code: public Object getParameter(String name)
    {
  
      try
      {
  
        // VariableStack varstack = getXPathContext().getVarStack();
        // The first string might be the namespace, or it might be 
        // the local name, if the namespace is null.
        QName qname = QName.getQNameFromString(name);
  
        if (null == m_userParams)
          return null;
  
        int n = m_userParams.size();
  
        for (int i = n - 1; i >= 0; i--)
        {
          Arg arg = (Arg) m_userParams.elementAt(i);
  
          if (arg.getQName().equals(qname))
          {
            return arg.getVal().object();
          }
        }
  
        return null;
      }
      catch (java.util.NoSuchElementException nsee)
      {
  
        // Should throw some sort of an error.
        return null;
      }
    }
docs: Get a parameter that was explicitly set with setParameter
  or setParameters.
  
  
  NEEDSDOC @param name
  @return A parameter that has been set with setParameter
  or setParameters,
  *not* all the xsl:params on the stylesheet (which require
  a transformation Source to be evaluated).