code: public boolean containsExcludeResultPrefix(String prefix, String uri) 
    {
  
      if (null == m_ExcludeResultPrefixs || uri == null )
        return false;
      
      // This loop is ok here because this code only runs during
      // stylesheet compile time.
      for (int i =0; i< m_ExcludeResultPrefixs.size(); i++)
      {
        if (uri.equals(getNamespaceForPrefix(m_ExcludeResultPrefixs.elementAt(i))))
          return true;
      }
      
      return false;
  
    /*  if (prefix.length() == 0)
        prefix = Constants.ATTRVAL_DEFAULT_PREFIX;
  
      return m_ExcludeResultPrefixs.contains(prefix); */
    }
docs: Get whether or not the passed prefix is contained flagged by
  the "exclude-result-prefixes" property.
  @see <a href="http://www.w3.org/TR/xslt#literal-result-element">literal-result-element in XSLT Specification</a>
  
  @param prefix non-null reference to prefix that might be excluded.
  @param uri reference to namespace that prefix maps to
  
  @return true if the prefix should normally be excluded.>