code: public ElemVariable getVariableOrParamComposed(QName qname)
    {
      if (null != m_variables)
      {
        int n = m_variables.size();
  
        for (int i = 0; i < n; i++)
        {
          ElemVariable var = (ElemVariable)m_variables.elementAt(i);
          if(var.getName().equals(qname))
            return var;
        }
      }
  
      return null;
    }
docs: Get an "xsl:variable" property.
  @see <a href="http://www.w3.org/TR/xslt#top-level-variables">top-level-variables in XSLT Specification</a>
  
  @param qname Qualified name of variable or param
  
  @return The ElemVariable with the given qualified name